重写为 AI 情报 Agent 并接入 Jenkins 流水线

This commit is contained in:
Codex
2026-07-08 21:41:46 +08:00
commit f471c2a08a
45 changed files with 2163 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
.PHONY: install lint test migrate seed run
PYTHON := /mnt/d/Python/Python39/python.exe
PYTHON_NO_CACHE := $(PYTHON) -B
install:
$(PYTHON) -m pip install -e ".[dev]"
lint:
$(PYTHON_NO_CACHE) -m ruff check .
test:
$(PYTHON_NO_CACHE) -m pytest
migrate:
$(PYTHON_NO_CACHE) -m alembic upgrade head
seed:
$(PYTHON_NO_CACHE) scripts/seed_topics.py
run:
$(PYTHON_NO_CACHE) -m uvicorn app.main:app --host 127.0.0.1 --port 8010