Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UFZ7JWdwCaQAwNYJErL8pP
21 lines
513 B
Python
21 lines
513 B
Python
# 실행 방법
|
|
# pip install -r requirements.txt
|
|
# python web_main.py
|
|
#
|
|
# 또는 uvicorn 직접 실행:
|
|
# uvicorn router.router:app --host 0.0.0.0 --port 3300
|
|
|
|
import uvicorn
|
|
|
|
from config.config_loader import app_config
|
|
|
|
if __name__ == "__main__":
|
|
print(f"Server Name : {app_config.server.name}")
|
|
print(f"Server Port : {app_config.server.port}")
|
|
uvicorn.run(
|
|
"router.router:app",
|
|
host=app_config.server.host,
|
|
port=app_config.server.port,
|
|
access_log=False,
|
|
)
|