tenseleyflow/jubjubword / ed3fdb6

Browse files

tell railway to load corpora

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
ed3fdb6d0cb347be3185f3f0a3b4d40eb48cacc7
Parents
e12df00
Tree
812d252

1 changed file

StatusFile+-
M backend/railway.json 1 1
backend/railway.jsonmodified
@@ -5,7 +5,7 @@
5
     "buildCommand": "pip install -r requirements.txt"
5
     "buildCommand": "pip install -r requirements.txt"
6
   },
6
   },
7
   "deploy": {
7
   "deploy": {
8
-    "startCommand": "python manage.py migrate && python manage.py collectstatic --noinput && gunicorn jubjub.wsgi:application --bind 0.0.0.0:$PORT",
8
+    "startCommand": "python manage.py migrate && python manage.py load_corpora && python manage.py collectstatic --noinput && gunicorn jubjub.wsgi:application --bind 0.0.0.0:$PORT",
9
     "restartPolicyType": "ON_FAILURE",
9
     "restartPolicyType": "ON_FAILURE",
10
     "restartPolicyMaxRetries": 10
10
     "restartPolicyMaxRetries": 10
11
   },
11
   },