Skip to content

Instantly share code, notes, and snippets.

Created Jul 30, 2022
What would you like to do?
script for deploy laravel project with compile mix
export NVM_DIR=~/.nvm
source ~/.nvm/
cd /var/www/html
git pull
composer install
php artisan migrate --seed
php artisan config:cache
php artisan route:cache
php artisan view:cache
npm install && npm run production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment