diff --git a/src/ninegate-1.0/scripts/ninegate-postservice-01.sh b/src/ninegate-1.0/scripts/ninegate-postservice-01.sh index 5c9f5eda..6d156e6a 100755 --- a/src/ninegate-1.0/scripts/ninegate-postservice-01.sh +++ b/src/ninegate-1.0/scripts/ninegate-postservice-01.sh @@ -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/