📦 配置虚拟环境和端口

变更:
- 添加 requirements.txt
- 更新 start.sh(使用虚拟环境)
- 更新 .gitignore(忽略 venv/和 node_modules/)
- 端口调整为 4000/9000
This commit is contained in:
2026-04-04 18:35:56 +08:00
parent 7be35039ed
commit fb740eb703
3 changed files with 68 additions and 52 deletions

5
requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
# 龙虾监控中心 - 依赖包
Django>=4.2,<5.0
djangorestframework>=3.14
django-cors-headers>=4.3
psycopg2-binary>=2.9