API Server for reata.github.io
- Python 3.14+
- uv
# Install dependencies
uv sync --locked
# Activate pre-commit hooks (ruff + ty on commit)
uv run pre-commit install
# Run tests
uv run pytest
# Start development server (with hot reload)
uv run uvicorn magpie.main:app --reload --port 8081
# Or use the dev script
uv run dev
# Run lint + format + type check manually (same as pre-commit / CI)
uv run pre-commit run --all-filesdocker build -t magpie .
docker run --rm -p 8080:8080 magpie