|
|
@ -10,7 +10,7 @@ |
|
|
|
~ How do I use it? |
|
|
|
~ How do I use it? |
|
|
|
|
|
|
|
|
|
|
|
1. edit the configuration in the factory.py file or |
|
|
|
1. edit the configuration in the factory.py file or |
|
|
|
export an FLASKR_SETTINGS environment variable |
|
|
|
export a FLASKR_SETTINGS environment variable |
|
|
|
pointing to a configuration file or pass in a |
|
|
|
pointing to a configuration file or pass in a |
|
|
|
dictionary with config values using the create_app |
|
|
|
dictionary with config values using the create_app |
|
|
|
function. |
|
|
|
function. |
|
|
@ -19,7 +19,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
pip install --editable . |
|
|
|
pip install --editable . |
|
|
|
|
|
|
|
|
|
|
|
3. Instruct flask to use the right application |
|
|
|
3. instruct flask to use the right application |
|
|
|
|
|
|
|
|
|
|
|
export FLASK_APP=flaskr.factory:create_app() |
|
|
|
export FLASK_APP=flaskr.factory:create_app() |
|
|
|
|
|
|
|
|
|
|
|