feat: 实现已确认的登录、采集和任务导出

This commit is contained in:
2026-10-29 18:11:15 +08:00
parent af91488934
commit 7ed299bbf6
44 changed files with 4546 additions and 2 deletions
+11 -1
View File
@@ -1,3 +1,13 @@
# DecomEval
占位
拆站评估。数据先采集入库,用户提交任务后从库中导出 xlsx、xls 或 csv。
```text
cd backend
.venv\Scripts\python -m uvicorn app.main:app --host 127.0.0.1 --port 8000
.venv\Scripts\python -m worker.main
cd ..\web
npm run dev
```
PostgreSQL 使用 `DECOM_DATABASE_URL=postgresql+psycopg://用户:密码@主机:5432/decom`。未设置时使用本机 SQLite。首次启动用 `DECOM_ADMIN_USERNAME` 和 `DECOM_ADMIN_PASSWORD` 创建管理员。生产环境同时运行接口和 `worker.main`,并设置 `DECOM_INLINE_WORKER=0`。