fix: panel init without werkzeug; stop tracking .env

Use stdlib pbkdf2 for admin passwords so init_db works reliably.
Remove .env from git to avoid pull conflicts on VPS.
Verify flask install before database init.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 09:17:43 +08:00
parent 042ae5a422
commit 59a88a9afe
4 changed files with 31 additions and 20 deletions
+3
View File
@@ -2,6 +2,9 @@
client/generated/
data/
panel/venv/
# 本地环境配置(勿提交密钥)
.env
# 临时文件
*.log
.DS_Store