diff --git a/Procfile b/Procfile index cdb03fc..014ef64 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ -web: cd backend && gunicorn gunicorn RattmWeb.wsgi \ No newline at end of file +web: cd backend && gunicorn gunicorn RattmWeb.wsgi +web: python backend/manage.py runserver 0.0.0.0:$PORT \ No newline at end of file diff --git a/README.md b/README.md index 966855b..2e2b585 100644 --- a/README.md +++ b/README.md @@ -148,5 +148,9 @@ frontend/ You can view the Firestore project by going to: [Firestore Console](https://console.cloud.google.com/firestore/databases/-default-/data/panel/transactions/1LpRig3D7NipgPG67P3O?project=rattm-tli) -## Backend as submodule -The backend is +## Backend in directory of main repository +The backend is in backend/, hosted on heroku. +To configure the new backend path: +- heroku config:set PYTHONPATH=backend +- Procfile edit +- update requirement.txt