Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

367 B
Raw Blame
#!/bin/sh
set -e

# Needed by next-auth to verify the origin of the request
export AUTH_URL=$NEXT_PUBLIC_BASE_URL

if [ "$MAINTENANCE_MODE" = "true" ]; then
  # The database may be unreachable during maintenance
  echo "MAINTENANCE_MODE is enabled - skipping database migration"
else
  npx prisma migrate deploy --config=./prisma.config.ts
fi
node apps/web/server.js