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.
David Lord 465922e5f1
clean up secret key docs
7 years ago
..
minitwit clean up secret key docs 7 years ago
tests Use the yield syntax in pytest's fixtures 8 years ago
.gitignore Update minitwit & improve testing for examples (#1954) 8 years ago
MANIFEST.in Update minitwit & improve testing for examples (#1954) 8 years ago
README Update README for minitwit (#2119) 8 years ago
setup.cfg Update minitwit & improve testing for examples (#1954) 8 years ago
setup.py Update minitwit & improve testing for examples (#1954) 8 years ago

README


/ 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. install the app from the root of the project directory

pip install --editable .

3. tell flask about the right application:

export FLASK_APP=minitwit

4. fire up a shell and run this:

flask initdb

5. now you can run minitwit:

flask run

the application will greet you on
http://localhost:5000/

~ Is it tested?

You betcha. Run the `python setup.py test` file to
see the tests pass.