flask/examples/flaskr
Armin Ronacher d3ca55177a Updated the docs and examples to non-failing teardown handlers 2011-08-25 20:56:43 +01:00
..
static Beefed up the tutorial 2010-04-16 02:03:45 +02:00
templates Beefed up the tutorial 2010-04-16 02:03:45 +02:00
README Ported examples over to new config. documented upgrading 2010-05-27 21:17:25 +02:00
flaskr.py Updated the docs and examples to non-failing teardown handlers 2011-08-25 20:56:43 +01:00
flaskr_tests.py Mention the TESTING flag in the docs 2011-06-17 21:53:11 +02:00
schema.sql Added mini blogging application as Flask example. 2010-04-14 16:44:29 +02:00

README

                         / Flaskr /

                 a minimal blog application


    ~ What is Flaskr?

      A sqlite powered thumble blog application

    ~ How do I use it?

      1. edit the configuration in the flaskr.py file or
         export an FLASKR_SETTINGS environment variable
         pointing to a configuration file.

      2. fire up a python shell and run this:

         >>> from flaskr import init_db; init_db()

      3. now you can run the flaskr.py file with your
         python interpreter and the application will
         greet you on http://localhost:5000/
	
    ~ Is it tested?

      You betcha.  Run the `flaskr_tests.py` file to see
      the tests pass.