14 lines
350 B
Python
14 lines
350 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
# @author : vincent.benoit@benserv.fr
|
|
# @brief : KineIntercom Backend
|
|
|
|
from ConfBack import app
|
|
from ConfBack.config import ProdConfig
|
|
from waitress import serve
|
|
|
|
print("Launch Flask KineIntercom Backend ...")
|
|
ret, application = app.create_app(config=ProdConfig)
|
|
if ret:
|
|
serve(application, host="127.0.0.1", port=6000)
|