2018-08-02 10:41:40 +02:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
sys.path.append('/srv/spotter')
|
|
|
|
from appmgr.wsgiapp import WSGIApp
|
|
|
|
|
|
|
|
application = WSGIApp()
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
import os
|
2018-08-17 14:10:29 +02:00
|
|
|
from werkzeug.contrib.fixers import ProxyFix
|
2018-08-02 10:41:40 +02:00
|
|
|
from werkzeug.serving import run_simple
|
|
|
|
|
2018-08-17 14:10:29 +02:00
|
|
|
run_simple('127.0.0.1', 8080, ProxyFix(application))
|