exec command postservice en mode prod

This commit is contained in:
afornerot 2020-03-03 11:03:18 +01:00
parent b53247af2e
commit cbeb91fb64

View File

@ -32,6 +32,7 @@ fi
# Installation des dépendances composer
composer install
rm -f /var/www/html/ninegate/var/logs/dev.log
# Permissions
./perm.sh www-data
@ -44,12 +45,12 @@ php bin/console cache:clear --env=prod --no-debug
php bin/console doctrine:schema:update --force --env=prod --no-debug
# Insertion data de base
php bin/console Core:InitData
php bin/console Cron:InitData
php bin/console Portal:InitData
php bin/console Core:InitData --env=prod
php bin/console Cron:InitData --env=prod
php bin/console Portal:InitData --env=prod
# Generation des assets
bin/console --env=dev assetic:dump
bin/console assetic:dump --env=prod
# Copie des polices du projet dans le rep web
cp -rf src/Cadoles/CoreBundle/Resources/public/fonts web/