Multi-tenant digital menu platform (Collina Systems): public QR menu with glassmorphism + 3D macro flip cards, mobile-first editor with draft/publish versioning (5-version history + restore), AI consultant & translation (Claude Haiku), realtime orders via SSE, configurable palette, QR generation, superadmin panel, and Docker/Coolify infra.
13 lines
321 B
Bash
13 lines
321 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Apply pending migrations against the database, then start the server.
|
|
echo "Running prisma migrate deploy…"
|
|
./node_modules/.bin/prisma migrate deploy
|
|
|
|
# Ensure the upload directory exists in the mounted volume.
|
|
mkdir -p "${UPLOAD_DIR:-/data/uploads}"
|
|
|
|
echo "Starting Next.js…"
|
|
exec node server.js
|