Browse Source

i think this is how this works now

pull/2338/head
Kenneth Reitz 8 years ago
parent
commit
e26cc8f904
  1. 2
      examples/flaskr/README
  2. 15
      examples/flaskr/flaskr/_cliapp.py

2
examples/flaskr/README

@ -21,7 +21,7 @@
3. Instruct flask to use the right application
export FLASK_APP=flaskr._cliapp
export FLASK_APP=flaskr.factory:create_app()
4. initialize the database with this command:

15
examples/flaskr/flaskr/_cliapp.py

@ -1,15 +0,0 @@
# -*- coding: utf-8 -*-
"""
Flaskr
~~~~~~
A microblog example application written as Flask tutorial with
Flask and sqlite3.
:copyright: (c) 2015 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from flaskr.factory import create_app
app = create_app()
Loading…
Cancel
Save