diff options
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 ``` |
