move scripts to bin

This commit is contained in:
Bryce Allen
2015-03-20 21:26:44 -05:00
parent 661a055d5c
commit 2730e46f52
8 changed files with 156 additions and 132 deletions

16
bin/test_server.py Executable file
View File

@@ -0,0 +1,16 @@
#!/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"