update code structure and get session on each query
All checks were successful
Build Docker Image / build (push) Successful in 12m54s

This commit is contained in:
ksyasuda
2025-02-09 20:20:10 -08:00
parent 410a7c92d9
commit af0d958b89
14 changed files with 234 additions and 234 deletions

12
run.py Executable file
View File

@@ -0,0 +1,12 @@
#!/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)