Files
guandan/run_server.py
starschen 7d22fdf57f init
2015-07-21 09:32:48 +08:00

9 lines
233 B
Python

activate_this = 'venv/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
from gevent.wsgi import WSGIServer
from main import app
http_server = WSGIServer(('0.0.0.0', 5000), app)
http_server.serve_forever()