Add a simple docstring to the flask launch files.
This commit is contained in:
parent
0852630cd1
commit
2f83bc2808
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
'''
|
||||||
|
This file is the WSGI entrypoint for remote / production use.
|
||||||
|
|
||||||
|
If you are using Gunicorn, for example:
|
||||||
|
gunicorn etiquette_flask_entrypoint:site --bind "0.0.0.0:PORT" --access-logfile "-"
|
||||||
|
'''
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import etiquette_flask
|
import etiquette_flask
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
'''
|
||||||
|
This file is the gevent launcher for local / development use.
|
||||||
|
|
||||||
|
Simply run it on the command line:
|
||||||
|
python etiquette_flask_launch.py [port]
|
||||||
|
'''
|
||||||
import gevent.monkey; gevent.monkey.patch_all()
|
import gevent.monkey; gevent.monkey.patch_all()
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
Loading…
Reference in a new issue