Files
Kine-backend/run_prod.py
2022-11-23 09:09:07 +01:00

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)