first commit

This commit is contained in:
salam committed 2025-09-04 16:06:17 +02:00
commit c9b36775da
180 files changed
+18476

No files matched your search

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