471 B
471 B
安装说明
1. 系统要求
- Linux 服务器 (推荐 Ubuntu 20.04+)
- Python 3.8+
- MySQL 8.0+
2. 安装部署
# 解压部署包
tar -xzf equipment_cost_prediction.tar.gz
cd equipment_cost_prediction
# 运行安装脚本
bash scripts/install.sh
# 修改配置文件
vim config/.env
# 启动服务
bash scripts/start.sh
3. 验证部署
# 检查服务状态
curl http://localhost:5001/api/
# 检查日志
tail -f logs/api.log