Enhance Readme

This commit is contained in:
Stephan Porada 2020-01-08 16:02:18 +01:00
parent 8416bda04b
commit 5e1ab758bc

View File

@ -54,9 +54,15 @@ $ <YOUR EDITOR> nopaque.env # Fill out the empty variables within this file.
5. **Start your instance**
``` bash
# Execute the following 3 steps only on first startup
$ docker-compose run web flask upgrade
$ docker-compose run web flask insert-initial-database-entries
$ docker-compose run web flask db upgrade
$ docker-compose run web flask db insert-initial-database-entries
$ docker-compose down
$ docker-compose up
```
6. **Alter Database Models**
``` bash
$ docker-compose run web flask db migrate
$ docker-compose run web flask db upgrade
```