ksyasuda af0d958b89
All checks were successful
Build Docker Image / build (push) Successful in 12m54s
update code structure and get session on each query
2025-02-09 20:20:10 -08:00

13 lines
271 B
Python
Executable File

#!/usr/bin/env python3
import logging
from app import create_app
from app.config import Config
logging.basicConfig(level=getattr(logging, Config.LOGLEVEL))
app = create_app()
if __name__ == "__main__":
app.run(host=Config.LISTEN_ADDRESS, port=Config.LISTEN_PORT)