# Windows 双击运行,或命令行执行:
start_fullstack.bat这将启动:
- 后端服务:http://localhost:5000
- 前端服务:http://localhost:3000
# UV环境启动
uv run python start_backend.py
# 或直接Python启动
python start_backend.pystart_fullstack.bat- 主要启动脚本,一键启动前后端start_backend.py- 后端启动脚本,仅启动GLM-4.5后端服务
docker/start-docker.bat- Docker容器启动(如果使用Docker)
- Python 3.11+
- UV包管理器
- Node.js(用于前端)
- 智谱AI API密钥
确保 .env 文件中已配置:
ZHIPUAI_API_KEY=你的智谱AI密钥
推荐使用全栈启动:
- 双击
start_fullstack.bat - 或在命令行运行该脚本
- Web界面: http://localhost:3000
- API服务: http://localhost:5000
- 系统信息: http://localhost:5000/api/system-info
# 研究任务
curl -X POST http://localhost:5000/api/simple/research \
-H "Content-Type: application/json" \
-d '{"topic": "人工智能发展趋势"}'
# 分析任务
curl -X POST http://localhost:5000/api/simple/analysis \
-H "Content-Type: application/json" \
-d '{"data": "待分析的数据"}'- 编码问题: 如遇到Windows批处理文件编码问题,使用
start_fullstack.bat(英文版,无特殊字符) - 端口占用: 确保5000和3000端口未被占用
- 网络连接: 确保能访问智谱AI API服务
- 批处理启动的服务: 关闭对应的命令行窗口
- 命令行启动的服务: 按
Ctrl+C