Initial commit for Start9 packaging

This commit is contained in:
MacPro
2026-02-28 09:27:26 -06:00
commit 1b64c45c52
124 changed files with 15671 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
# Rebuild and restart the Workout Planner
# Usage: ./scripts/rebuild.sh
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
cd "$PROJECT_DIR"
echo "Stopping server..."
"$SCRIPT_DIR/stop.sh"
echo ""
echo "Applying database migrations..."
npx prisma db push
echo ""
echo "Building production bundle..."
npm run build
echo ""
echo "Starting server..."
"$SCRIPT_DIR/start.sh"