update code structure and get session on each query
All checks were successful
Build Docker Image / build (push) Successful in 12m54s
All checks were successful
Build Docker Image / build (push) Successful in 12m54s
This commit is contained in:
12
run.py
Executable file
12
run.py
Executable 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)
|
||||
Reference in New Issue
Block a user