Created
April 11, 2015 11:07
-
-
Save ssddanbrown/a366c2308fad248d5797 to your computer and use it in GitHub Desktop.
iwanttolearn.io Laravel Deploy Script
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/sh | |
project=/var/www/iwanttolearn.io | |
GIT_WORK_TREE=$project git checkout -f | |
cd $project | |
composer install --no-dev --optimize-autoloader | |
php artisan migrate --force | |
php artisan cache:clear | |
php artisan route:cache | |
gulp --production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment