This commit is contained in:
丹尼尔
2026-03-15 17:32:10 +08:00
parent 15c9e1772a
commit 19d8ad3721
7 changed files with 90 additions and 10 deletions

45
.gitignore vendored Normal file
View File

@@ -0,0 +1,45 @@
# 本地环境(含密钥,不提交)
.env
.env.local
.env.*.local
# 生产环境(服务器上单独维护,不提交)
.env.prod
# 保留模板(随项目提交)
# .env.example
# .env.prod.example
# 依赖与构建
node_modules/
.venv/
venv/
__pycache__/
*.py[cod]
dist/
build/
*.egg-info/
.eggs/
# 数据与日志(可挂载卷)
backend/data/
data/
*.db
*.sqlite
*.log
# 系统与编辑器
.DS_Store
Thumbs.db
.idea/
.vscode/
*.swp
*.swo
*~
# 调试与临时
*.tmp
.cache/
.pytest_cache/
.coverage
htmlcov/