summaryrefslogtreecommitdiffstats
path: root/webapp/run.py
blob: 2290f415954c75b62721a75f272300048a6c61ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python

import sys
sys.path.append('packages')

import threading

from app import app, send_queue, recv_queue

def run_server():
    app.run(threaded=True, host='', port=8000)

server_thread = threading.Thread(target=run_server)