Working again (basically)

This commit is contained in:
Ozzieisaacs
2019-02-06 21:52:32 +01:00
parent 561d40f8ff
commit a00d93a2d9
18 changed files with 500 additions and 452 deletions
+5 -10
View File
@@ -1,21 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
base_path = os.path.dirname(os.path.abspath(__file__))
# Insert local directories into path
sys.path.append(base_path)
sys.path.append(os.path.join(base_path, 'cps'))
sys.path.append(os.path.join(base_path, 'vendor'))
from cps.server import Server
from cps import create_app
from cps.web import web
from cps import Server
if __name__ == '__main__':
app = create_app()
app.register_blueprint(web)
Server.startServer()