Tracis CI :
Team :
- Julien Brochet mewt@androirc.com
- Sébastien Brochet blinkseb@androirc.com
- Install composer: https://getcomposer.org/download/
- Create and edit the
parameters.yml
file:cp app/config/parameters.yml.test app/config/parameters.yml
- Install dependencies:
php composer.phar install
- Setup database, and load some fixtures:
php app/console --env=test doctrine:database:drop --force
php app/console --env=test doctrine:database:create
php app/console --env=test doctrine:schema:create
php app/console --env=test doctrine:fixtures:load --no-interaction
- Setup nginx: see https://www.wanadev.fr/9-kit-de-survie-symfony2-et-nginx/
- Setup Symfony cache
cd app/
HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX cache
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX cache
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX logs
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX logs
cd ..
AndroIRC use capifony
for deployment (http://capifony.org/)
sudo gem install capifony
- Initialize capifony:
capifony .