- curl -s http://getcomposer.org/installer | php
- mv composer.phar /usr/local/bin/composer
- (composer update)
- composer install
- create bdd and import USER
- install sqlite driver
- php -S localhost:8000 -t ./ ./index.php
- [server]
- add /var/www/api/projectName
- create linked_files and linked_dirs and .htaccess with rules for current
- set chown for www-data:www-data tmp/*, shared/var/logs/* and shared/var/cache/*
- install bdd and set rules
- set deploy.rb : repo and name
- After git add . / commit / push
- cap production deploy (set server info before automatic install)
- ok
- cap production apache:conf
- cap production deploy:rollback