📦 添加虚拟环境和启动脚本

新增:
- backend/venv/ - Python 虚拟环境
- backend/start.sh - 启动脚本(使用虚拟环境)
- backend/requirements.txt - 依赖列表
- .gitignore - 忽略虚拟环境和缓存文件

说明:
- 每个项目使用独立虚拟环境
- 避免依赖冲突
- 启动脚本自动创建和激活虚拟环境
This commit is contained in:
2026-04-04 18:28:31 +08:00
parent 9ab279e1fe
commit 96f6318101
32058 changed files with 3949495 additions and 22 deletions

46
.gitignore vendored
View File

@@ -1,24 +1,32 @@
# Python 缓存
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
# 环境
*.py[cod]
*$py.class
*.so
.Python
venv/
.venv/
ENV/
env/
.env
*.egg-info/
dist/
build/
# Node.js
node_modules/
# 系统与工具
.DS_Store
.openclaw/
.vscode/
# 数据库与日志
*.db
*.sqlite3
# Django
*.log
db.sqlite3
*.pot
*.pyc
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Node
node_modules/