Merge pull request #2826 from senarclens/master
add init-db call to flask tutorial's README.rst
This commit is contained in:
commit
673e5af658
1 changed files with 2 additions and 0 deletions
|
|
@ -49,12 +49,14 @@ Run
|
|||
|
||||
export FLASK_APP=flaskr
|
||||
export FLASK_ENV=development
|
||||
flask init-db
|
||||
flask run
|
||||
|
||||
Or on Windows cmd::
|
||||
|
||||
set FLASK_APP=flaskr
|
||||
set FLASK_ENV=development
|
||||
flask init-db
|
||||
flask run
|
||||
|
||||
Open http://127.0.0.1:5000 in a browser.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue