turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/deploy.sh
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

26 lines
576 B
Bash

#!/bin/bash
cd /home/twweb/web
sudo php artisan down
rm -rf package-lock.json
git pull
npm install
npm run build
npm audit fix
export COMPOSER_ALLOW_SUPERUSER=1
composer install --optimize-autoloader --no-dev
php artisan migrate --force
php artisan optimize:clear
php artisan optimize
php artisan event:clear
php artisan cache:clear
php artisan view:clear
php artisan config:clear
php artisan route:clear
php artisan event:cache
php artisan route:cache
php artisan config:cache
sudo php artisan view:cache
php artisan db:seed ImportDynamicContent --force
sudo php artisan up