flask/examples/flaskr
2016-05-26 20:45:50 +02:00
..
static Beefed up the tutorial 2010-04-16 02:03:45 +02:00
templates Addressed issue #1134 2014-07-29 20:42:28 -05:00
.gitignore Updated tutorial to the flask script 2014-04-28 15:18:27 +02:00
flaskr.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
README Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
schema.sql Escaped 'text' keyword in column name. 2013-10-15 09:17:19 -07:00
test_flaskr.py Happy New Year 2015 2015-01-02 11:35:00 +09:00

                         / 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. Instruct flask to use the right application

         export FLASK_APP=flaskr

      3. initialize the database with this command:

         flask initdb

      4. now you can run flaskr:

         flask run

         the application will greet you on
         http://localhost:5000/

    ~ Is it tested?

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