From 8f710d687b729209dccea6fc8c9b0eb5fcac6d4a Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Wed, 14 Apr 2021 10:21:48 -0400 Subject: [PATCH] Seed database --- uva_crconnect_training.rst | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/uva_crconnect_training.rst b/uva_crconnect_training.rst index cf4b44a..f6ce032 100644 --- a/uva_crconnect_training.rst +++ b/uva_crconnect_training.rst @@ -358,10 +358,35 @@ Use docker-compose to run the rest of the CR Connect application stack. docker-compose -f cr-connect-docker-compose.yml up -TODO: ------ -flask db migrations -flask load-example-data +Setup Database +-------------- + +We need to update the database tables and seed them with some example data. + +From the development/cr-connect-workflow directory, run these commands. + +.. code-block:: + + flask db upgrade + +.. code-block:: + + flask load-example-data + + +URLs +---- + +You should now be able to reach these URLs. + +`API `_ + +`Dashboard `_ + +`Configurator `_ + +`PB Mock `_ + ------------------- CR-Connect-Workflow