You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
344 B

#!/usr/bin/env python
from mhapi.web.wsgi import application
LISTEN_HOST = ""
LISTEN_PORT = 8080
if __name__ == '__main__':
import sys
from wsgiref.simple_server import make_server
httpd = make_server(LISTEN_HOST, LISTEN_PORT, application)
try:
httpd.serve_forever()
except KeyboardInterrupt:
print "^C"