Update readme to use run instead of exec

This commit is contained in:
Jim Fingal 2020-11-08 11:44:52 -08:00
parent 7eea1b27da
commit 391361c5e3

View file

@ -65,9 +65,8 @@ You'll have to install the Docker and docker-compose. When you're ready, run:
```bash
docker-compose build
docker-compose up
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py shell -c 'import init_db'
docker-compose run --rm web python manage.py migrate
docker-compose run --rm web python manage.py initdb
```
### Without Docker