update.sh 267 B

123456789101112
  1. #!/usr/bin/env bash
  2. git fetch --all
  3. git reset --hard origin/master
  4. git pull
  5. php composer.phar install
  6. php artisan key:generate
  7. php artisan config:clear
  8. php artisan cache:clear
  9. php artisan view:clear
  10. php artisan route:cache
  11. php artisan config:cache
  12. chown -R www:www ./