Browse Source

Correcting FLASK_APP instructions

master
Ryan Reed 5 years ago
parent
commit
ccccf9cddd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@ -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 "<class/table> table"`
4. Commit migration script to repo (for upgrading other environments)


Loading…
Cancel
Save