wip
This commit is contained in:
@@ -24,10 +24,6 @@ if [[ -z "$APP_KEY" ]]; then
|
|||||||
|
|
||||||
export APP_KEY=base64:$(openssl rand -base64 32)
|
export APP_KEY=base64:$(openssl rand -base64 32)
|
||||||
draw_box $APP_KEY
|
draw_box $APP_KEY
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# persist the ENVs to a file so laravel can access?
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for dir in storage/framework/cache storage/framework/sessions storage/framework/views; do
|
for dir in storage/framework/cache storage/framework/sessions storage/framework/views; do
|
||||||
@@ -46,6 +42,7 @@ if [ ! -L "public/storage" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\n====================== Running migrations... ====================== "
|
echo -e "\n====================== Running migrations... ====================== "
|
||||||
|
echo $DB_CONNECTION
|
||||||
run_migrations() {
|
run_migrations() {
|
||||||
artisan_as_www_user "migrate --force"
|
artisan_as_www_user "migrate --force"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user