feat(v0.2): 完善量化研究与二次开发能力

This commit is contained in:
shy3130
2026-08-13 20:16:02 +08:00
parent fb13c2179a
commit 6e317a5a43
104 changed files with 4973 additions and 678 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ if [ ! -d "$BACKEND_DIR/.venv" ] || [ "${#BACKEND_EXTRA_ARGS[@]}" -gt 0 ]; then
else
info "后端首次启动 — 安装 Python 依赖(约 1-2 分钟)..."
fi
( cd "$BACKEND_DIR" && uv sync "${BACKEND_EXTRA_ARGS[@]}" )
( cd "$BACKEND_DIR" && uv sync --frozen "${BACKEND_EXTRA_ARGS[@]}" )
ok "后端依赖装好了"
fi
@@ -173,7 +173,7 @@ echo
(
cd "$BACKEND_DIR"
uv run uvicorn app.main:app "${UVICORN_ENV_ARGS[@]}" --reload \
uv run --frozen uvicorn app.main:app "${UVICORN_ENV_ARGS[@]}" --reload \
--host "$BACKEND_HOST" --port "$BACKEND_PORT" 2>&1 \
| prefix_awk "$(printf "${BLUE}[backend ]${NC} ")"
) &