Files
brunoandClaude 1f54225066 feat: 添加数据库初始化文档和配置优化
- 添加完整的数据库初始化文档 (docs/DATABASE_SETUP.md)
- 添加快速开始指南 (docs/QUICK_START.md)
- 更新 requirements.txt 添加缺失的依赖 (requests, python-docx)
- 优化 .gitignore 配置,保留 uploads 目录结构
- 创建 uploads 目录结构 (images/, pdfs/)
- 支持 PostgreSQL 和 SQLite 两种数据库配置

数据库文档包含:
- PostgreSQL 和 SQLite 安装配置指南
- 完整的表结构说明
- 管理员账户初始化步骤
- 数据库迁移说明
- 常见问题排查
- 备份恢复方案

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
2025-11-27 22:18:14 +08:00

62 lines
602 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# Virtual environments
venv/
env/
ENV/
# IDE
.vscode/
.idea/
*.swp
*.swo
# Database
*.db
*.sqlite3
# Logs
*.log
logs/
# Uploads (keep directory structure but ignore contents)
uploads/*
!uploads/.gitkeep
!uploads/images/
!uploads/pdfs/
uploads/images/*
uploads/pdfs/*
!uploads/images/.gitkeep
!uploads/pdfs/.gitkeep
temp/
*.tmp
# Environment variables
.env
.env.local
.env.production
# OS
.DS_Store
Thumbs.db