Commit graph

11 commits

Author SHA1 Message Date
Hopsken
7f28837167 Update README for minitwit (#2119)
add step 2 to run minitwit
2016-12-21 21:07:09 +01:00
Kyle Lawlor
5f009374fd Update minitwit & improve testing for examples (#1954)
* Update minitwit & improve testing for examples

* Related to #1945
* Re-works minitwit to be installed and run as:

    pip install --editable .
    export FLASK_APP=minitwit.minitwit
    export FLASK_DEBUG=1
    flask initdb
    flask run

* added flaskr and minitwit to norecursedirs
  * tests not properly run when using pytest standards
  * see: http://stackoverflow.com/questions/38313171/configuring-pytest-with-installable-examples-in-a-project
* Both flaskr and minitwit now follow pytest standards.
* Tests can for them as `py.test` or `python setup.py test`

* Update minitwit readme

* updates the instructions for running

* Fixes for updating the minitwit example

- This reverts the changes to the *docs/* (I will file separate PR).
- Running the app is now: `export FLASK_APP=minitwit` & `flask run`
  (After installing the app)

* Remove unnecessary comma from flaskr/setup.py
2016-08-22 20:52:54 +02:00
Armin Ronacher
a7d829c618 Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
defuz
eb05001f8a docs: Don't touch markdown files 2014-11-05 08:40:57 +03:00
defuz
a8f570cc62 docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
tay-k
f95acc64d6 fix filename of test files in README of examples 2014-09-18 18:21:36 +09:00
Armin Ronacher
9ab5987100 Updated the examples to be cli based 2014-04-29 01:48:31 +02:00
Armin Ronacher
dfecc86dd3 Ported examples over to new config. documented upgrading 2010-05-27 21:17:25 +02:00
Armin Ronacher
2f5a4f8dbc Doc updates and typo fixes 2010-04-12 00:14:59 +02:00
Armin Ronacher
f2dc38cda6 Added tests for minitwit. Testing with Flask is awesome 2010-04-11 18:45:06 +02:00
Armin Ronacher
44b42e0fbd Added a README file for MiniTwit. 2010-04-06 16:16:34 +02:00