Coder Social home page Coder Social logo

app-onion-slice's Introduction

Onion Slice

セットアップ - Setup

  1. dist/ ディレクトリ内に置かれている onion-slice.php を、管理用のウェブサーバーの任意のディレクトリにアップロードする。
  2. ウェブブラウザで、アップロードした onion-slice.php にアクセスし、初期設定画面を開く。
  3. 画面の指示に従って初期設定する。

スケジュール更新機能のセットアップ

Onion Slice には、スケジュール更新機能が付属しています。 この機能を利用するには、ウェブフロントサーバーに、 onion-slice--waiter.phar をセットアップします。

  1. dist/ ディレクトリ内に置かれている onion-slice--waiter.phar を、ウェブフロントサーバーの任意のディレクトリ(非公開ディレクトリ)にアップロードする。
  2. 任意の非公開ディレクトリに、環境設定ファイル(JSON)を作成する。
{
    "api_endpoint": "http://192.168.0.12:8080/onion-slice.php",
    "api_key": "xxxxxxxxx",
    "api_basic_auth": "basic_auth_id:yourpassword",
    "realpath_data_dir": "/path/to/onion-slice--waiter_files/",
    "realpath_public_symlink": "/path/to/var/www/htdocs",
    "git_remote": "https://git-remote.com/example/example.git",
    "project_id": "xxxxxxxxxxxxxxxxx",
    "scripts": {
        "post-deploy-cmd": [
            "anycommand"
        ]
    },
    "commands": {
        "php": "/opt/homebrew/bin/php",
        "php": "/usr/local/bin/composer" ,
        "git": "/usr/bin/git"
    }
}
  1. crontab に、次のようにコマンドを登録する。
* * * * * /path/to/onion-slice--waiter.phar --env /path/to/env.json

更新履歴 - Change log

tomk79/app-onion-slice v0.3.0 (2024年5月17日)

  • onion-slice--waiter.phar の設定に scripts.post-deploy-cmd を追加。
  • onion-slice--waiter.phar にPHPコマンドのパスが設定されていないときに、実行中のPHPからコマンドのパスを取得するようになった。
  • スケジューラーで、リリーススケジュールを降順に並ぶように変更した。
  • スケジューラーで、古い配信タスクをアーカイブするようになった。
  • スケジューラーで、古いスタンバイを削除するようになった。
  • スケジューラーで、配信予約を作成した時点のリビジョンの情報を記録するようになった。
  • その他のUI改善、細かい不具合の修正など。

tomk79/app-onion-slice v0.2.0 (2024年4月30日)

  • スケジュール配信機能を追加。
  • APIキーの管理機能を追加。
  • ユーザーディレクトリ名を admin_users から users に改名した。
  • ログと内部管理される時刻情報を ISO 8601 形式 に変更した。

tomk79/app-onion-slice v0.1.0 (2023年8月29日)

  • Initial Release

ライセンス - License

MIT License https://opensource.org/licenses/mit-license.php

作者 - Author

app-onion-slice's People

Contributors

tomk79 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.