Go to file
9700X_PC 0f6382b992 first commit 2025-10-13 07:06:50 +09:00
app first commit 2025-10-13 07:06:50 +09:00
gradle/wrapper first commit 2025-10-13 07:06:50 +09:00
static first commit 2025-10-13 07:06:50 +09:00
templates first commit 2025-10-13 07:06:50 +09:00
tools first commit 2025-10-13 07:06:50 +09:00
.gitignore first commit 2025-10-13 07:06:50 +09:00
200-mmi.csv first commit 2025-10-13 07:06:50 +09:00
43576520 first commit 2025-10-13 07:06:50 +09:00
FaultCode.xlsx first commit 2025-10-13 07:06:50 +09:00
README.md first commit 2025-10-13 07:06:50 +09:00
app.py first commit 2025-10-13 07:06:50 +09:00
build.gradle first commit 2025-10-13 07:06:50 +09:00
fault_codes.db first commit 2025-10-13 07:06:50 +09:00
gradle.properties first commit 2025-10-13 07:06:50 +09:00
gradlew first commit 2025-10-13 07:06:50 +09:00
gradlew.bat first commit 2025-10-13 07:06:50 +09:00
icon.png first commit 2025-10-13 07:06:50 +09:00
requirements.txt first commit 2025-10-13 07:06:50 +09:00
rotem_f.csv first commit 2025-10-13 07:06:50 +09:00
rotem_f2.csv first commit 2025-10-13 07:06:50 +09:00
settings.gradle first commit 2025-10-13 07:06:50 +09:00
twa-manifest.json first commit 2025-10-13 07:06:50 +09:00
woo.csv first commit 2025-10-13 07:06:50 +09:00
woo.csv.bak first commit 2025-10-13 07:06:50 +09:00
woo_sig.csv first commit 2025-10-13 07:06:50 +09:00
woojin.xlsx first commit 2025-10-13 07:06:50 +09:00
로템_고장.xlsx first commit 2025-10-13 07:06:50 +09:00
우진200량 TCMS 고장목록.xlsm first commit 2025-10-13 07:06:50 +09:00
우진신호.xlsx first commit 2025-10-13 07:06:50 +09:00

README.md

1호선 고장코드 (Flask + HTMX, Supabase)

실행 방법

  1. 의존성 설치 (venv 권장)
pip install -r requirements.txt
  1. 환경변수 설정
# Windows PowerShell 예시
$env:SUPABASE_URL="http://192.168.0.180:54321"  # 로컬 도커 기본 포트
$env:SUPABASE_ANON_KEY="<ANON_KEY>"
  1. 서버 실행
python app.py

브라우저에서 http://localhost:5000 접속

기능

  • Supabase의 public.Falut_Code_Table에서 필터/검색
  • 항목 클릭 시 모달 상세 표시
  • 다크모드 토글

비고

  • 로컬 SQLite 및 /api/meta, /api/db 기반 동기화는 제거됨
  • Supabase 접속 실패 시 안내 메시지를 화면에 표시
  • 사내망 주소/포트 방화벽 허용 필요 (예: 54321, 8000 등 구성에 따라 상이)