# 設定ファイルのテンプレートをコピー
cp backend/config/config.php.example backend/config/config.php
# 設定ファイルを編集(開発用の値に変更)
# master, key, session_salt などをローカル開発用の値に設定注意: backend/config/config.php は .gitignore に含まれており、リポジトリにはコミットされません。
- バージョンは
backend/config/config.phpで集中管理し、UI 下部に表示されます。 backend/routes/router.phpに API バージョンがあるため、更新時に変更が必要です。backend/services/system-api-handler.phpにもバージョンがあるため、更新時に変更が必要です。docs/RELEASE_NOTES_*.mdにバージョンごとの変更点を記載しています。CHANGELOG.mdとREADME.mdもバージョンに合わせて適宜更新してください。
docker-compose --profile tools up -d php-cli
docker-compose exec php-cli php infrastructure/scripts/test-version.php
docker-compose down php-cli# Webサーバーの起動
docker-compose up -d web
# リリース管理(Linux/Mac)
./infrastructure/scripts/release.sh x.x.x
# リリース管理(Windows)
infrastructure\scripts\release.bat x.x.x
# 自動プッシュ付きリリース
./infrastructure/scripts/release.sh x.x.x --push
# Composer 管理
./infrastructure/scripts/composer.sh install
./infrastructure/scripts/composer.sh update- バージョン更新:
./infrastructure/scripts/release.sh x.x.x - 変更確認:
backend/config/config.phpのバージョン番号を手動で更新 - Git 操作: 表示される手順に従ってコミット・タグ・プッシュ
- 自動リリース: GitHub Actions が自動でリリースを作成
重要: リリース時は backend/config/config.php.example テンプレートが配布され、エンドユーザーが自分で設定ファイルを作成する必要があります。