tenseleyflow/jubjubword / 5bbe7c9

Browse files

Move railway.json to backend/ dir where Railway can find it

Railway root directory is set to /backend, so it wasn't reading
railway.json from the repo root. Moving it into backend/ so Railway
will actually use the startCommand that runs load_corpora.

Co-authored-by: mfwolffe <wolffemf@dukes.jmu.edu>
Co-authored-by: espadonne <espadonne@outlook.com>
Authored by Claude <noreply@anthropic.com>
SHA
5bbe7c9ba788b5e3033e3a51b8e5eb46cb8b5fb6
Parents
080d154
Tree
ad4999e

1 changed file

StatusFile+-
A backend/railway.json 11 0
backend/railway.jsonadded
@@ -0,0 +1,11 @@
1
+{
2
+  "$schema": "https://railway.app/railway.schema.json",
3
+  "build": {
4
+    "builder": "NIXPACKS"
5
+  },
6
+  "deploy": {
7
+    "startCommand": "python manage.py migrate && python manage.py load_corpora --verbosity=2 && gunicorn jubjub.wsgi:application --bind 0.0.0.0:$PORT",
8
+    "restartPolicyType": "ON_FAILURE",
9
+    "restartPolicyMaxRetries": 10
10
+  }
11
+}