Last active
April 30, 2022 18:06
-
-
Save Zeitwaechter/7ec289da67546aedbdd296877c38dfca to your computer and use it in GitHub Desktop.
Laravel Forge
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
# ʘ‿ʘ #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