Improved installation script

This commit is contained in:
Kamil Niemczycki 2022-04-21 12:27:44 +02:00
parent 704b04e51a
commit 5eb23ec2d5

View File

@ -12,7 +12,7 @@ if [ ! -d "vendor" ] && [ -f "composer.json" ]; then
touch database/database.sqlite
fi
php artisan migrate --seed
php artisan migrate:fresh --seed
fi
if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
@ -24,4 +24,5 @@ if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
npm run dev
fi
exec "$@"
echo "$@"
exec "$@"