srctweb.py 265 Bytes
Newer Older
1 2 3 4 5 6
#!flask/bin/python
from website import website
#website.run(debug = True) ## This is for debugging use only.

if __name__ == 'main':	## This is for execution via gunicorn.
    website.run(debug=True)
7 8 9

# gunicorn command
# gunicorn srctweb:website -b 127.0.0.1:8001