Question

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.

Était-ce utile?

La solution

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

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top