From 5e1ab758bcbfc9dd24fe2d0b1fb3ae73bdbfb45e Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Wed, 8 Jan 2020 16:02:18 +0100 Subject: [PATCH] Enhance Readme --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff9c3a8b..4e65c3b1 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,15 @@ $ 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 +```