You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
/ 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.
|
|
|
|
|
|
|
|
2. fire up a shell and run this:
|
|
|
|
|
|
|
|
flask --app=minitwit initdb
|
|
|
|
|
|
|
|
3. now you can run minitwit:
|
|
|
|
|
|
|
|
flask --app=minitwit run
|
|
|
|
|
|
|
|
the application will greet you on
|
|
|
|
http://localhost:5000/
|
|
|
|
|
|
|
|
~ Is it tested?
|
|
|
|
|
|
|
|
You betcha. Run the :file:`test_minitwit.py` file to
|
|
|
|
see the tests pass.
|