Created
March 24, 2015 05:55
-
-
Save swarajgiri/6ba43f3d8d7d64be6487 to your computer and use it in GitHub Desktop.
Laravel deployment opti
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
#!/bin/bash | |
PATH=/usr/bin:/bin/:/usr/bin/php | |
php artisan clear-compiled | |
php artisan config:clear | |
php artisan cache:clear | |
php artisan route:clear | |
php artisan optimize | |
php artisan config:cache | |
php artisan route:cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment