From 2db55c3d261ddee52019bbd06dc5f6545db39c16 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Jun 2020 16:09:59 +0200 Subject: form for making a new graph. add username field to db --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e6d5690..38a303e 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,14 @@ npm install (this should work on Linux as well but let me know if it doesn't) -Set up the database: - -``` -./cli.py db upgrade head -``` - ## running the site -Before running the commands, enter the client directory and load the Conda environment: +Before running the commands, enter the client directory, load the Conda environment, and make sure the database is current: ``` cd cli conda activate swimmer +./cli.py db upgrade head ``` Then build the frontend and run the Flask server: @@ -50,4 +45,5 @@ Generate a new migration if you've modified the database: ``` ./cli.py db revision --autogenerate -m 'describe the changes' +./cli.py db upgrade head ``` -- cgit v1.2.3-70-g09d2