Pregunta

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.

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top