diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 16:09:59 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 16:09:59 +0200 |
| commit | 2db55c3d261ddee52019bbd06dc5f6545db39c16 (patch) | |
| tree | 4afe164982b81ca8cbd239e9f08567e8ae7fb2cf /README.md | |
| parent | 42d5e59335d97aa0cf165f2aedf8d04f60db9310 (diff) | |
form for making a new graph. add username field to db
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 ``` |
