Files
schedule/src/schedule-2.0/scripts/reconfigure.sh

21 lines
443 B
Bash
Raw Normal View History

2020-05-11 15:53:07 +02:00
#!/bin/bash
cd /var/www/html/schedule
2020-05-11 17:03:33 +02:00
# Déclaration d'un proxy
2020-08-31 11:03:41 +02:00
. /scripts/proxy.sh
2020-05-11 15:53:07 +02:00
2020-05-12 08:45:19 +02:00
# Mise en place du fichier d'environnement model
if [ ! -f /var/www/html/schedule/.env ]; then
mv /var/www/html/schedule/scripts/.env.model /var/www/html/schedule/.env
fi
2020-05-11 15:53:07 +02:00
# Installation des dépendances composer
composer install
php bin/console app:AppInit --env=prod
php bin/console app:CronInit --env=prod
# Permissions
./scripts/perm.sh www-data