This commit is contained in:
2025-09-30 21:24:37 +02:00
parent d603fb452a
commit b7b9cebacb
258 changed files with 416 additions and 601 deletions

22
scripts/reconfigure.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
cd /var/www/html/schedule
# Déclaration d'un proxy
. scripts/proxy.sh
# Mise en place du fichier d'environnement model
yes 2>/dev/null | cp /var/www/html/schedule/scripts/.env.model $DIR/.env
# Installation des dépendances composer
echo COMPOSER = Install
export COMPOSER_ALLOW_SUPERUSER=1
composer self-update --1 --quiet
composer install --quiet
php bin/console app:AppInit --env=prod
php bin/console app:CronInit --env=prod
php bin/console app:Script --env=prod
# Permissions
./scripts/perm.sh www-data