Merge branch 'features/forceSeeders' into 'dev'

force laravel seeders

See merge request sae-but2/2025-26/gestion-benevoles-association/docker!5
This commit is contained in:
JOSSERAND GIOVANNI p2405212
2026-02-11 15:07:33 +00:00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -66,6 +66,8 @@ gosu www-data php artisan key:generate --force
gosu www-data php artisan config:clear
gosu www-data php artisan cache:clear
gosu www-data php artisan migrate --force
gosu www-data php artisan db:seed --class=DevSeeder
chmod -R 775 storage bootstrap/cache
chmod -R 755 public
+2
View File
@@ -42,6 +42,7 @@ chown -R www-data:www-data /var/www/.composer
if [ -f composer.json ]; then
composer install --no-interaction --prefer-dist
fi
cp /tmp/app.env .env
@@ -61,6 +62,7 @@ php artisan key:generate --force
php artisan config:clear
php artisan cache:clear
php artisan migrate --force
php artisan db:seed --class=ProdSeeder
chown root:root .env
chmod 440 .env