diff --git a/railway.json b/railway.json index a828bc1..c6121d4 100644 --- a/railway.json +++ b/railway.json @@ -4,8 +4,7 @@ "builder": "NIXPACKS" }, "deploy": { - "startCommand": "python manage.py makemigrations && \ - python manage.py migrate && python manage.py runscript delete-all-countries && python manage.py runscript insert-all-countries && python manage.py runscript insert-all-cemeteries && python manage.py runscript insert-all-ranks && python manage.py runscript add-flags-to-countries && python manage.py runscript insert-all-pow-camps && python manage.py collectstatic && python manage.py runserver 0.0.0.0:$PORT", + "startCommand": "python manage.py makemigrations && python manage.py migrate && python manage.py runscript delete-all-countries && python manage.py runscript insert-all-countries && python manage.py runscript insert-all-cemeteries && python manage.py runscript insert-all-ranks && python manage.py runscript add-flags-to-countries && python manage.py runscript insert-all-pow-camps && python manage.py collectstatic && python manage.py runserver 0.0.0.0:$PORT", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }