質問

I have a Symfony2 application that I would like to deploy using Capistrano3. Performing cap install creates a config directory in the projectroot. To keep my project clean, I would like it to install the config dir into something like app\config\capistrano. Is this possible? I cannot find any hints in the documentations.

役に立ちましたか?

解決

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

他のヒント

Look at your Capfile and change the path to the config file. This should be enough.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top