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.
18 lines
404 B
Bash
Executable file
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!"
|