From 0afbc40a9fa04746c40f27bfffef6ba4ed462d11 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sun, 20 Dec 2015 15:50:43 +0000 Subject: Run as Gevent WSGI app --- run_mach2.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 run_mach2.py (limited to 'run_mach2.py') diff --git a/run_mach2.py b/run_mach2.py new file mode 100644 index 0000000..4c12f2b --- /dev/null +++ b/run_mach2.py @@ -0,0 +1,7 @@ +from gevent import monkey +monkey.patch_all() +from gevent.wsgi import WSGIServer +from mach2 import app + +http_server = WSGIServer(('', 5000), app) +http_server.serve_forever() -- cgit v1.2.3