exec command postservice en mode prod

This commit is contained in:
afornerot 2020-03-03 11:03:18 +01:00
parent b53247af2e
commit cbeb91fb64
1 changed files with 5 additions and 4 deletions

View File

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