CostPrediction/STARTUP.md

507 B
Raw Blame History

成本预测系统 - 启动说明

环境要求

  • Python 3.9 ~ 3.11

启动步骤

# 1. 安装依赖
pip install -e .

# 2. 初始化派生特征数据(首次必须执行)
python -m scripts.calculate_features

# 3. 启动服务
python run.py

浏览器打开 http://127.0.0.1:5001 即可。

附注

  • 数据库为 SQLite首次启动自动创建无需安装配置
  • 如修改前端代码,需安装 Node.js 后在 frontend/ 目录执行 npm install && npm run build