2017-01-29 21:06:08 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2015-08-02 20:59:11 +02:00
|
|
|
import sys
|
2019-02-06 21:52:24 +01:00
|
|
|
from cps import create_app
|
|
|
|
from cps.web import web
|
|
|
|
from cps import Server
|
2015-08-02 20:59:11 +02:00
|
|
|
|
2016-12-23 09:53:39 +01:00
|
|
|
if __name__ == '__main__':
|
2019-02-06 21:52:24 +01:00
|
|
|
app = create_app()
|
|
|
|
app.register_blueprint(web)
|
2018-07-09 18:47:36 +02:00
|
|
|
Server.startServer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|