feat: Flask 애플리케이션 모듈화 및 웹 대시보드 구현
- Flask Blueprint 아키텍처로 전환 (dashboard, upload, backup, status) - app.py 681줄 95줄로 축소 (86% 감소) - HTML 템플릿 모듈화 (base.html + 기능별 templates) - CSS/JS 파일 분리 (common + 기능별 파일) - 대시보드 기능 추가 (통계, 주간 예보, 방문객 추이) - 파일 업로드 웹 인터페이스 구현 - 백업/복구 관리 UI 구현 - Docker 배포 환경 개선 - .gitignore 업데이트 (uploads, backups, cache 등)
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@ -0,0 +1,21 @@
|
||||
# Database Configuration
|
||||
DB_HOST=mariadb
|
||||
DB_PORT=3306
|
||||
DB_NAME=firstgarden
|
||||
DB_USER=firstgarden
|
||||
DB_PASSWORD=Fg9576861!
|
||||
DB_ROOT_PASSWORD=rootpassword
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# Timezone
|
||||
TZ=Asia/Seoul
|
||||
|
||||
# Python Configuration
|
||||
PYTHONUNBUFFERED=1
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
# API Keys (keep secure, use actual values in production)
|
||||
# DATA_API_SERVICE_KEY=your_service_key_here
|
||||
# GA4_API_TOKEN=your_ga4_token_here
|
||||
Reference in New Issue
Block a user