summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-02 16:09:59 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-02 16:09:59 +0200
commit2db55c3d261ddee52019bbd06dc5f6545db39c16 (patch)
tree4afe164982b81ca8cbd239e9f08567e8ae7fb2cf /README.md
parent42d5e59335d97aa0cf165f2aedf8d04f60db9310 (diff)
form for making a new graph. add username field to db
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
```