From ad13fcf0cd0ea2bfb01592868d5c8436730490b9 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Fri, 28 Feb 2020 15:44:01 -0500 Subject: [PATCH] Correcting FLASK_APP instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd43aa5..288e486 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ http GET http://localhost:5000/api/users/1 "Authorization:Bearer " # The Database ## Workflow for updating database (new table/field/etc) -1. Export the flask app: `export FLASK_APP=stockpyle.py` +1. Export the flask app: `export FLASK_APP=run.py` 2. Create/modify class for table in `app/models.py` 3. Create migration script: `flask db migrate -m " table"` 4. Commit migration script to repo (for upgrading other environments)