flask/examples/minitwit/README

36 lines
730 B
Text
Raw Normal View History

2010-04-06 16:16:34 +02:00
/ MiniTwit /
because writing todo lists is not fun
~ What is MiniTwit?
A SQLite and Flask powered twitter clone
~ How do I use it?
1. edit the configuration in the minitwit.py file or
export an MINITWIT_SETTINGS environment variable
pointing to a configuration file.
2010-04-06 16:16:34 +02:00
2016-05-26 20:45:50 +02:00
2. tell flask about the right application:
export FLASK_APP=minitwit
2014-04-29 01:48:31 +02:00
2. fire up a shell and run this:
2010-04-06 16:16:34 +02:00
2016-05-26 20:45:50 +02:00
flask initdb
2010-04-06 16:16:34 +02:00
2014-04-29 01:48:31 +02:00
3. now you can run minitwit:
2016-05-26 20:45:50 +02:00
flask run
2014-04-29 01:48:31 +02:00
the application will greet you on
http://localhost:5000/
~ Is it tested?
2014-11-05 08:40:57 +03:00
You betcha. Run the `test_minitwit.py` file to
see the tests pass.