exec command postservice en mode prod
This commit is contained in:
parent
b53247af2e
commit
cbeb91fb64
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue