Files
Kine-backend/run_prod.py
Vincent BENOIT 10de8153aa premier commit
2022-10-04 15:02:50 +02:00

14 lines
343 B
Python

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