feat: add admin application setup with authentication and deployment configurations

This commit is contained in:
2026-10-17 14:51:59 +02:00
parent 3126a8ac36
commit 55d5fd7a39
6 changed files with 141 additions and 13 deletions

View File

@@ -10,4 +10,4 @@ cmds = ["npm ci"]
cmds = ["npx prisma generate", "npm run build"]
[start]
cmd = "npx prisma db push --accept-data-loss && npm start"
cmd = "npx prisma db push --accept-data-loss && (node ../scripts/ensure-admin.cjs || node scripts/ensure-admin.cjs || true) && npm start"