Replace the Clojure Kit application with a Python FastAPI app that produces identical HTML output. WebSocket proxy, Danish number formatting, and HTMX integration all preserved. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
367 B
Makefile
20 lines
367 B
Makefile
include .env
|
|
export
|
|
|
|
.PHONY: clean run run-docker tailwind test
|
|
|
|
clean:
|
|
rm -rf __pycache__ app/__pycache__
|
|
|
|
run:
|
|
.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 4000 --reload
|
|
|
|
run-local:
|
|
BTCDATA_URL=$(BTCDATA_LOCAL_URL) .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 4000 --reload
|
|
|
|
tailwind:
|
|
npm run css:watch
|
|
|
|
test:
|
|
.venv/bin/python -m pytest tests/
|