git clone git@github.com:ESNFranceG33kTeam/sf_logoinserter.gitor
git clone https://github.com/ESNFranceG33kTeam/sf_logoinserter.gitInstallez composer :
curl -sS https://getcomposer.org/installer | phpinstall all vendors
php composer.phar installcreate directories
mkdir -p web/uploads/sections web/uploads/downloadsessions web/uploads/publicon Mac
HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/public
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/publicon Linux
HTTPDUSER=`ps aux | 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 app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/public
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/publicDeploy assets
php app/console assets:installUpdate your database
php app/console doctrine:migrations:migrateImport sections from file
php app/console esn:section:import