Skip to content
Myr

add init-db call to flask tutorial

Before adoption: this commit came in with the history the project adopted, so no landing records it.

otherwise the user is confronted with an unpleasant error message when accessing the dev server the first time

authored by Gerald Senarclens de Grancy · committed by Gerald Senarclens de Grancy · parent 9c0e110 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:examples/tutorial/README.rst+2 added
47 unmodified lines
48::4950 export FLASK_APP=flaskr51 export FLASK_ENV=development52 flask init-db53 flask run5455Or on Windows cmd::5657 set FLASK_APP=flaskr58 set FLASK_ENV=development59 flask init-db60 flask run6162Open http://127.0.0.1:5000 in a browser.63
14 unmodified lines