23 lines
722 B
Python
23 lines
722 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
프론트엔드 실행 스크립트
|
|
"""
|
|
import subprocess
|
|
import sys
|
|
from app.core.config import settings
|
|
|
|
if __name__ == "__main__":
|
|
print("🎯 Q-Table 협상 전략 데모 프론트엔드를 시작합니다...")
|
|
print(f"📍 주소: http://{settings.frontend_host}:{settings.frontend_port}")
|
|
print("🛑 종료하려면 Ctrl+C를 누르세요")
|
|
|
|
try:
|
|
subprocess.run([
|
|
sys.executable, "-m", "streamlit", "run",
|
|
"frontend/app.py",
|
|
"--server.port", str(settings.frontend_port),
|
|
"--server.address", settings.frontend_host
|
|
])
|
|
except KeyboardInterrupt:
|
|
print("\n👋 프론트엔드를 종료합니다.")
|