first commit

This commit is contained in:
2026-09-22 10:48:18 +08:00
commit 2006f7b4a4
20 changed files with 1877 additions and 0 deletions

14
app/config.py Normal file
View File

@@ -0,0 +1,14 @@
from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent.parent
DATA_DIR = BASE_DIR / "data"
UPLOAD_DIR = DATA_DIR / "uploads"
DB_PATH = DATA_DIR / "hangbiao.db"
SAMPLE_XLSX = BASE_DIR / "2024级指标分析成绩基础数据_5次考试.xlsx"
SECRET_KEY = "hangbiao-dev-secret-change-me"
ADMIN_USER = "admin"
ADMIN_PASSWORD = "hangbiao2026"
SESSION_MAX_AGE = 60 * 60 * 12
MAX_UPLOAD_MB = 15