新增.gitignore和.cursorindexingignore文件,更新config.py以包含Flask配置和日志设置,完善README文档,添加LICENSE文件,优化main.py中的数据库导入和日志记录,更新requirements.txt以反映依赖项变更,改进admin.html的样式和结构,确保项目结构清晰且符合开源标准。

This commit is contained in:
dockermen
2025-04-21 16:09:18 +08:00
parent c4ce2fc5a4
commit 60cb5339e2
22 changed files with 7806 additions and 302 deletions

70
.gitignore vendored Normal file
View File

@ -0,0 +1,70 @@
# 字节编译文件
__pycache__/
*.py[cod]
*$py.class
# C扩展
*.so
# 分发和打包
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
*.manifest
*.spec
# 单元测试和覆盖率报告
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# 日志
logs/
*.log
log/
# 环境
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# 数据库
*.db
*.sqlite
*.sqlite3
# IDE文件
.idea/
.vscode/
*.swp
*.swo
.DS_Store
# 项目特定文件
config_local.py