Updated the examples to be cli based

This commit is contained in:
Armin Ronacher 2014-04-29 01:48:31 +02:00
parent 3be7d918ce
commit 9ab5987100
6 changed files with 26 additions and 33 deletions

View file

@ -13,9 +13,16 @@
export an FLASKR_SETTINGS environment variable
pointing to a configuration file.
2. now you can run the flaskr.py file with your
python interpreter and the application will
greet you on http://localhost:5000/
2. initialize the database with this command:
flask --app=flaskr initdb
3. now you can run flaskr:
flask --app=flaskr run
the application will greet you on
http://localhost:5000/
~ Is it tested?