Skip to content

Commit d0088e6

Browse files
committed
add init-db call to flask tutorial
otherwise the user is confronted with an unpleasant error message when accessing the dev server the first time
1 parent 9c0e110 commit d0088e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/tutorial/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@ Run
4949

5050
export FLASK_APP=flaskr
5151
export FLASK_ENV=development
52+
flask init-db
5253
flask run
5354

5455
Or on Windows cmd::
5556

5657
set FLASK_APP=flaskr
5758
set FLASK_ENV=development
59+
flask init-db
5860
flask run
5961

6062
Open http://127.0.0.1:5000 in a browser.

0 commit comments

Comments
 (0)