简体   繁体   中英

How to deploy symfony2 application?

As parameters.yml be? Here I have a repository of it is a clone, starts composer install . Of course there is only file parameters.yml.dist , well, after setting the parameters for the dependencies ask him, which by default will be empty. As a result - tests the database will not work

All that comes to mind - in parameters.yml.dist record the default settings to connect to the database and when you install it in rename parameters.yml, but the password to the database repository to store as something not kosher. What other options are there?

I use PHPCi.

我建议您按照以下步骤进行Symfony2部署清单

Would you mind to look to the great deployment tool Capifony http://capifony.org/ . It will allow you make initial setup and place parameters.yml to shared config folder, that will be used for all other deploys

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM