Updated the examples to be cli based
This commit is contained in:
parent
3be7d918ce
commit
9ab5987100
6 changed files with 26 additions and 33 deletions
|
|
@ -14,13 +14,16 @@
|
|||
export an MINITWIT_SETTINGS environment variable
|
||||
pointing to a configuration file.
|
||||
|
||||
2. fire up a python shell and run this:
|
||||
2. fire up a shell and run this:
|
||||
|
||||
>>> from minitwit import init_db; init_db()
|
||||
flask --app=minitwit initdb
|
||||
|
||||
3. now you can run the minitwit.py file with your
|
||||
python interpreter and the application will
|
||||
greet you on http://localhost:5000/
|
||||
3. now you can run minitwit:
|
||||
|
||||
flask --app=minitwit run
|
||||
|
||||
the application will greet you on
|
||||
http://localhost:5000/
|
||||
|
||||
~ Is it tested?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue