문제

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