Improved installation script
This commit is contained in:
parent
704b04e51a
commit
5eb23ec2d5
@ -12,7 +12,7 @@ if [ ! -d "vendor" ] && [ -f "composer.json" ]; then
|
|||||||
touch database/database.sqlite
|
touch database/database.sqlite
|
||||||
fi
|
fi
|
||||||
|
|
||||||
php artisan migrate --seed
|
php artisan migrate:fresh --seed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
|
if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
|
||||||
@ -24,4 +24,5 @@ if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
|
|||||||
npm run dev
|
npm run dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "$@"
|
||||||
exec "$@"
|
exec "$@"
|
Loading…
x
Reference in New Issue
Block a user