flask/examples/flaskr
Armin Ronacher fc94599285 Removed useless imports and added README 2010-04-14 16:47:53 +02:00
..
static Added mini blogging application as Flask example. 2010-04-14 16:44:29 +02:00
templates Added mini blogging application as Flask example. 2010-04-14 16:44:29 +02:00
README Removed useless imports and added README 2010-04-14 16:47:53 +02:00
flaskr.py Removed useless imports and added README 2010-04-14 16:47:53 +02:00
flaskr_tests.py Added mini blogging application as Flask example. 2010-04-14 16:44:29 +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 Flask?

      A sqlite powered thumble blog application

    ~ How do I use it?

      1. edit the configuration in the flaskr.py 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.