Updated installer
Added key generation and database migrations
This commit is contained in:
parent
cfffdcd980
commit
308f1f5c76
@ -5,7 +5,14 @@ if [ ! -d "vendor" ] && [ -f "composer.json" ]; then
|
||||
echo "########################################"
|
||||
echo "# vendor directory not found... #"
|
||||
echo "########################################"
|
||||
composer install
|
||||
composer install \
|
||||
&& php artisan key:generate
|
||||
|
||||
if [ ! -f "database/database.sqlite" ]; then
|
||||
touch database/database.sqlite
|
||||
fi
|
||||
|
||||
php artisan migrate --seed
|
||||
fi
|
||||
|
||||
if [ ! -d "node_modules" ] && [ -f "package.json" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user