2018-06-16 07:50:38 +00:00
|
|
|
#!/bin/bash
|
2018-06-12 18:56:42 +00:00
|
|
|
|
2018-06-16 21:51:33 +00:00
|
|
|
set -o allexport
|
|
|
|
source .env
|
|
|
|
set +o allexport
|
|
|
|
|
2018-06-16 07:50:38 +00:00
|
|
|
cp -r storage.skel/* storage/
|
2018-06-16 20:27:45 +00:00
|
|
|
chown -R www-data:www-data storage/
|
2018-06-16 07:50:38 +00:00
|
|
|
php artisan migrate --force
|
2018-06-16 20:27:45 +00:00
|
|
|
php artisan storage:link
|
2018-06-12 18:56:42 +00:00
|
|
|
|
2018-06-16 20:27:45 +00:00
|
|
|
php artisan horizon &
|
2018-06-12 18:56:42 +00:00
|
|
|
exec apache2-foreground
|