fix: remove dev.db from git and configure Railway properly

This commit is contained in:
Justin Edmund 2025-11-23 03:33:59 -08:00
parent aadb00dce7
commit e6392da856
5 changed files with 9 additions and 17 deletions

1
.gitignore vendored
View file

@ -33,3 +33,4 @@ vite.config.ts.timestamp-*
storybook-static storybook-static
backups/ backups/
server.log server.log
*.db

3
.npmrc
View file

@ -1,2 +1 @@
# Temporarily disabled for Railway build debugging engine-strict=true
# engine-strict=true

View file

@ -1,15 +0,0 @@
[phases.setup]
nixPkgs = ["nodejs_20"]
[phases.install]
cmds = [
"corepack enable",
"corepack prepare pnpm@9.15.9 --activate",
"pnpm install --frozen-lockfile"
]
[phases.build]
cmds = ["./scripts/railway-build.sh"]
[start]
cmd = "pnpm run start"

View file

7
railway.toml Normal file
View file

@ -0,0 +1,7 @@
[build]
builder = "NIXPACKS"
[deploy]
startCommand = "pnpm run start"
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10