14 lines
311 B
Python
Executable File
14 lines
311 B
Python
Executable File
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from vmmgr.wsgiapp import WSGIApp
|
|
|
|
application = WSGIApp()
|
|
|
|
if __name__ == '__main__':
|
|
import os
|
|
from werkzeug.contrib.fixers import ProxyFix
|
|
from werkzeug.serving import run_simple
|
|
|
|
run_simple('127.0.0.1', 8080, ProxyFix(application), threaded=True)
|