12 lines
346 B
Python
12 lines
346 B
Python
import os
|
|
import sys
|
|
here = os.path.dirname(os.path.abspath(__file__))
|
|
os.chdir(here)
|
|
sys.path.insert(0,here+'/venv/lib/python{}.{}/site-packages'.format(sys.version_info.major, sys.version_info.minor))
|
|
sys.path.insert(0,here)
|
|
|
|
import settings
|
|
from belote import app, socketio
|
|
socketio.run(app, debug=False, host=settings.PUBLIC_URL, port=8080)
|
|
|