dishplanner/bin/update.sh
myrmidex 561750dc83 FOSS pivot: retire SaaS, demo, and APP_MODE plumbing (#37 #38 #39 #40 #41)
Remove Stripe/Cashier subscription billing, demo mode, and APP_MODE enum/helpers. Delete frontend-old/ and stale bin scripts. Adopt AGPL-3.0 (LICENSE.md, README, composer.json). Point Docker image, prod scripts, and README at forge.lvl0.xyz/lvl0/dishplanner.
2026-08-16 17:29:19 +02:00

18 lines
404 B
Bash
Executable file

#!/bin/bash
set -e
echo "🔄 Pulling latest changes..."
git pull origin main
echo "📦 Installing PHP dependencies..."
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "🗄️ Running migrations..."
php artisan migrate --force
echo "🧹 Clearing and caching config..."
php artisan config:cache
php artisan route:cache
php artisan view:cache
echo "✅ Update complete!"