Skip to content

Instantly share code, notes, and snippets.

@marina-mosti
Created February 14, 2019 04:07
Show Gist options
  • Save marina-mosti/2d7a48cf72776ac98adf604171576a8b to your computer and use it in GitHub Desktop.
Save marina-mosti/2d7a48cf72776ac98adf604171576a8b to your computer and use it in GitHub Desktop.
Laravel Vue deploy sample
cd /var/www/html
git checkout -- .
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader
php artisan config:cache
cd /var/www/html/frontend
npm install
npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment