2

Capistrano3 を使用してデプロイしたい Symfony2 アプリケーションがあります。実行すると、プロジェクトルートにディレクトリがcap install作成されます。configプロジェクトをクリーンに保つために、config dir を のようなものにインストールしたいと思いapp\config\capistranoます。これは可能ですか?ドキュメントにヒントが見つかりません。

4

2 に答える 2

5

Found the anwser in a pull request on Github.

Enter the following two lines to your Capfile, before capistrano\setup beign called.

set :deploy_config_path, 'app/config/deploy.rb' set :stage_config_path, 'app/config/deploy' `

It is implemented in the 3.1.x branch

于 2014-03-26T12:05:32.170 に答える