Files
rhymepad.org/Makefile
kennethreitz 66de2b06b0 Swap the FastAPI shell for Responder 5.0.0, served by Granian
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>
2026-06-28 16:42:51 -04:00

8 lines
110 B
Makefile

.PHONY: run test
run:
uv run granian --interface asgi --reload --port 8765 app:api
test:
uv run pytest -q