Skip to content
Myr

README

This file

Path

examples/minitwit/README

39 lines · 834 bytes

Last changed by

Update README for minitwit (#2119)Hopskenbefore adoption7f28837

History of this file

Take it

The walk stopped after 200 commits: lines older than f63cd72 point at it.

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

lines 1–16why, one step back
1
2 / 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.16

Update README for minitwit (#2119)Hopskenbefore adoption7f28837

line 17why, one step back
17 2. install the app from the root of the project directory

Update docs to the new CLI patternsArmin Ronacherbefore adoptiona7d829c

line 18why, one step back
18

Update README for minitwit (#2119)Hopskenbefore adoption7f28837

lines 19–22why, one step back
19 pip install --editable .
2021 3. tell flask about the right application:22

Update docs to the new CLI patternsArmin Ronacherbefore adoptiona7d829c

lines 23–24why, one step back
23 export FLASK_APP=minitwit
24

Update README for minitwit (#2119)Hopskenbefore adoption7f28837

line 25why, one step back
25 4. fire up a shell and run this:

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

line 26why, one step back
26

Update docs to the new CLI patternsArmin Ronacherbefore adoptiona7d829c

line 27why, one step back
27 flask initdb

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

line 28why, one step back
28

Update README for minitwit (#2119)Hopskenbefore adoption7f28837

line 29why, one step back
29 5. now you can run minitwit:

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

line 30why, one step back
30

Update docs to the new CLI patternsArmin Ronacherbefore adoptiona7d829c

line 31why, one step back
31 flask run

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

lines 32–37why, one step back
32
33 the application will greet you on34 http://localhost:5000/3536 ~ Is it tested?37

Merge branch '0.11-maintenance'Markus Unterwaditzerbefore adoption7132feb

line 38why, one step back
38 You betcha. Run the `python setup.py test` file to

Merge pull request #1721 from pra85/patch-1David Lordbefore adoptionf63cd72

line 39why, one step back
39 see the tests pass.