Created
October 17, 2021 14:32
-
-
Save johndavedecano/3796afce7ca8095ba5d49ecc76a8ee7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
chown www-data:www-data -R /var/www/html/storage | |
chown www-data:www-data -R /var/www/html/bootstrap/cache | |
chmod 755 -R /var/www/html/storage | |
chmod 755 -R /var/www/html/bootstrap/cache | |
cd /var/www/html | |
// start supervisor | |
// start scheduler | |
php artisan storage:link | |
php artisan config:cache | |
php artisan view:cache | |
php artisan route:cache | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment