tenseleyflow/jubjubword / 080d154

Browse files

Add startCommand to railway.json to force load_corpora execution

Railway was ignoring nixpacks.toml. Using railway.json startCommand
to explicitly run load_corpora during deployment.

Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Authored by Claude <noreply@anthropic.com>
SHA
080d154b80eccfac91b239b72235711426f43bd6
Parents
1f712b4
Tree
78c0eed

1 changed file

StatusFile+-
M railway.json 1 0
railway.jsonmodified
@@ -4,6 +4,7 @@
44
     "builder": "NIXPACKS"
55
   },
66
   "deploy": {
7
+    "startCommand": "python manage.py migrate && python manage.py load_corpora --verbosity=2 && gunicorn jubjub.wsgi:application --bind 0.0.0.0:$PORT",
78
     "restartPolicyType": "ON_FAILURE",
89
     "restartPolicyMaxRetries": 10
910
   }