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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user