2020-04-26 09:32:30 +00:00
|
|
|
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
|
2020-05-08 18:59:31 +00:00
|
|
|
socketio.run(app, debug=False, host=settings.LISTEN_URL, port=8080)
|
2020-04-26 09:32:30 +00:00
|
|
|
|