All symfony tasks (both symfony 1.x and Symfony2) run using the default
php
binary on the production server. You can change this via:
set :php_bin, "/path/to/php"
All symfony tasks (both symfony 1.x and Symfony2) also run inside the
prod
environment on production server. You can change this via:
set :symfony_env_prod, "staging"
symfony 1.x
By default, capifony will try to configure your config/databases.yml
on every
symfony 1.x project deployment (if it’s not present) on production.
You can turn this behavior off with:
set :use_orm, false
If you want to use a shared symfony library instead of one bundled inside a symfony 1.x project, define the path to it with:
set :symfony_lib, "/path/to/symfony"
Symfony2
In Symfony2, you can choose the ORM you are using (Doctrine, or Propel). The default ORM is Doctrine.
set :model_manager, "propel"
If your app
or web
paths in Symfony2 differ from default the default
paths, you can specify them with:
set :app_path, "my_app"
set :web_path, "my_web"
If you use AsseticBundle with Symfony2, then you probably want to dump assets on every deploy:
set :dump_assetic_assets, true
If you are working with a continuous process, you may want to automate everything.
You can turn off the interactive mode by setting the following parameter to false
:
set :interactive_mode, false