From ccccf9cddd0d812c94e71a28c68b5846e510a993 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Fri, 28 Feb 2020 15:44:14 -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 2238a46..3704e02 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ DATABASE_URL="sqlite:///app.db" # 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)