summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 3 insertions, 7 deletions
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
```