mirror of
https://github.com/kennethreitz/rhymepad.org.git
synced 2026-07-21 22:09:30 +00:00
66de2b06b0
The rhyme engine never cared which framework wrapped it; this trades the FastAPI shell for Responder. Routes become (req, resp) views, static serves from the site root so no asset URL moves, and the CPU-heavy handlers stay sync to keep running in the threadpool. Granian replaces uvicorn as the server. Tests drive the engine directly now that views aren't plain callables. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
110 B
Makefile
8 lines
110 B
Makefile
.PHONY: run test
|
|
|
|
run:
|
|
uv run granian --interface asgi --reload --port 8765 app:api
|
|
|
|
test:
|
|
uv run pytest -q
|