Update readme with development instructions

This commit is contained in:
Gabriel Augendre 2021-05-10 09:06:44 +02:00
parent fca7d69436
commit ff28dafc80

View file

@ -1,2 +1,22 @@
# manuels-scolaires
Help librarian manage textbooks requests from colleagues
## Local development
```bash
pipenv install
pipenv run python manage.py migrate
DJANGO_ENV=dev pipenv run python manage.py runserver
```
## Deploy on Heroku
```bash
heroku login
heroku git:remote --app manuels-scolaires
git push heroku master
```
You may need to upgrade Python since Heroku tends to deprecate old patch versions rather quickly.
In this case, edit `runtime.txt`.