from gevent.wsgi import WSGIServer from yourapplication import app http_server = WSGIServer(('', 5000), app) http_server.serve_forever()
References
http://flask.pocoo.org/docs/1.0/deploying/wsgi-standalone/
from gevent.wsgi import WSGIServer from yourapplication import app http_server = WSGIServer(('', 5000), app) http_server.serve_forever()
References
http://flask.pocoo.org/docs/1.0/deploying/wsgi-standalone/