tell railway to load corpora
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
ed3fdb6d0cb347be3185f3f0a3b4d40eb48cacc7- Parents
-
e12df00 - Tree
812d252
ed3fdb6
ed3fdb6d0cb347be3185f3f0a3b4d40eb48cacc7e12df00
812d252| Status | File | + | - |
|---|---|---|---|
| M |
backend/railway.json
|
1 | 1 |
backend/railway.jsonmodified@@ -5,7 +5,7 @@ | ||
| 5 | 5 | "buildCommand": "pip install -r requirements.txt" |
| 6 | 6 | }, |
| 7 | 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 | 9 | "restartPolicyType": "ON_FAILURE", |
| 10 | 10 | "restartPolicyMaxRetries": 10 |
| 11 | 11 | }, |