Commit 6b1ff46a95d1f987568cf8a4d3b047ca25e251b0
1 parent
508144eb
Exists in
master
and in
4 other branches
Better module docstring
Showing
1 changed file
with
7 additions
and
4 deletions
Show diff stats
pdc_web.py
1 | -# | |
2 | -# Flask app wrapper | |
3 | -# | |
1 | +""" | |
2 | +Flask app wrapper to be used by different callers | |
3 | + - with `flask run' invocation with FLASK_APP='pdc_web' | |
4 | + - inside pdc_web.wsgi as wsgi application in apache | |
5 | + - through uwsgi.ini for use with wsgi and nginx for example | |
6 | +""" | |
4 | 7 | from app import create_app, cli |
5 | 8 | |
6 | 9 | # |
... | ... | @@ -11,7 +14,7 @@ pdc_app = create_app() |
11 | 14 | |
12 | 15 | # |
13 | 16 | # Declare command line interpreter |
14 | -# used with 'flask aroma_db' command | |
17 | +# used with 'flask pdc-tools' command | |
15 | 18 | # see aroma/cli.py for more details. |
16 | 19 | # |
17 | 20 | cli.register(pdc_app) | ... | ... |