README
This file
Path
examples/minitwit/README
39 lines · 834 bytes
Last changed by
Update README for minitwit (#2119)Hopskenbefore adoption7f28837
History of this fileTake it
12 / MiniTwit /34 because writing todo lists is not fun567 ~ What is MiniTwit?89 A SQLite and Flask powered twitter clone1011 ~ How do I use it?1213 1. edit the configuration in the minitwit.py file or14 export an MINITWIT_SETTINGS environment variable15 pointing to a configuration file.1617 2. install the app from the root of the project directory1819 pip install --editable .2021 3. tell flask about the right application:2223 export FLASK_APP=minitwit2425 4. fire up a shell and run this:2627 flask initdb2829 5. now you can run minitwit:3031 flask run3233 the application will greet you on34 http://localhost:5000/3536 ~ Is it tested?3738 You betcha. Run the `python setup.py test` file to39 see the tests pass.