Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Laravel Forge
# ʘ‿ʘ #happy #freshchanges
cd /home/forge/app
# (ノ◕ヮ◕)ノ*:・゚✧ Clean it up!
git diff
#git -c core.quotepath=false -c log.showSignature=false rm --cached -f -- package.json
#git -c core.quotepath=false -c log.showSignature=false rm --cached -f -- package-lock.json
git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- package.json
git -c core.quotepath=false -c log.showSignature=false checkout HEAD -- package-lock.json
# (づ。◕‿‿◕。)づ Pull it like you mean it!
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader
# register private fontawesome-pro 5.5+
npm config set "@fortawesome:registry" https://npm.fontawesome.com/ && \
npm config set "//npm.fontawesome.com/:_authToken" [ID]
# (づ ̄ ³ ̄)づ #love
ulimit -Sn 8192
# install from package.json
npm install
# create assets, css and js
npm run production
echo "" | sudo -S systemctl restart php-fpm.service
# restart beanstalk
echo "" | sudo -S systemctl restart beanstalkd.service
# cleare cache
php artisan cache:clear
# Datenbank migrieren
php artisan migrate --force
#if [ -f artisan ]
#then
# php artisan migrate --force
#fi
# Queue Worker ~
# php artisan queue:restart
# Horizon for Queues ~
# php artisan horizon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.