first commit
linter / quality (push) Canceled after 0s
tests / ci (8.3) (push) Canceled after 0s
tests / ci (8.4) (push) Canceled after 0s
tests / ci (8.5) (push) Canceled after 0s

This commit is contained in:
salam committed 2026-10-06 18:53:03 +02:00
commit e687b4437b
418 files changed
+33577

No files matched your search

Executable
+66
View File
@@ -0,0 +1,66 @@
case "$1" in
"1")
git pull
composer update
php artisan optimize
npm update
npm run build
;;
"2")
# echo "droping tables disabled"
# exit;
php artisan migrate:fresh --force
#php artisan shield:generate --all
php artisan optimize:clear
php artisan filament:assets
php artisan optimize
php artisan db:seed --force
;;
"3")
php artisan filament:optimize-clear
php artisan view:clear
php artisan optimize:clear
php artisan route:clear
php artisan cache:clear
php artisan icons:clear
php artisan config:clear
php artisan optimize
npm run build
;;
"4")
chown -R apache:apache .
;;
"5")
php artisan storage:link
;;
"6")
php artisan filament:assets
;;
"7")
php artisan db:seed --force
;;
"8")
php artisan cache:clear
php artisan config:clear
php artisan view:clear
;;
*)
echo ""
echo "--------------------------"
echo "setup nuh lives"
echo "--------------------------"
echo "1 => git pull & composer update & optimize"
echo "2 => a db fresh"
echo "3 => empty cache & optimize"
echo "4 => chown -R apache:apache ."
echo "5 => a storage:link"
echo "6 => a filament:assets (copy to prod)"
echo "7 => a db:seed --force"
echo "8 => a cache:clear view:clear"
echo "--------------------------"
echo ""
;;
esac