Skip to content

Instantly share code, notes, and snippets.

@davidsneal
Last active April 25, 2022 17:20
Show Gist options
  • Save davidsneal/51565668a86387ef3f4256ea63aeb623 to your computer and use it in GitHub Desktop.
Save davidsneal/51565668a86387ef3f4256ea63aeb623 to your computer and use it in GitHub Desktop.
Bash script for updating a laravel project - Run using ./update.sh
{
cd /project/root
git pull
composer install
php artisan migrate
gulp --production
chown www-data:www-data storage/ bootstrap/cache -R
php artisan queue:restart
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment