Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (7 sloc) 218 Bytes
import os
from gevent import monkey
from gevent.pywsgi import WSGIServer
from app import app
monkey.patch_all()
http_server = WSGIServer(('0.0.0.0', int(os.environ['PORT_APP'])), app)
http_server.serve_forever()
You can’t perform that action at this time.