From 6c21f172db17da1a709e824e1554ed0be31151b7 Mon Sep 17 00:00:00 2001 From: Per Magnus Petersen Date: Tue, 15 Sep 2026 19:51:55 +0200 Subject: [PATCH] Show live Bitcoin price in page title --- Makefile | 5 ++++- app/main.py | 20 ++++++++++++++++++-- tests/test_health.py | 17 +++++++++++++++++ 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 503914a..7025c43 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ VENV := .venv UVICORN := $(VENV)/bin/uvicorn TEST_DEPS := $(VENV)/.test-deps -.PHONY: clean run run-local tailwind test venv +.PHONY: clean run run-local run-citadel tailwind test venv venv: $(UVICORN) @@ -23,6 +23,9 @@ run: venv run-local: venv BTCDATA_URL=$(BTCDATA_LOCAL_URL) $(UVICORN) app.main:app --host 0.0.0.0 --port 4000 --reload +run-citadel: venv + BTCDATA_URL=$(BTCDATA_URL) $(UVICORN) app.main:app --host 0.0.0.0 --port 4000 --reload + tailwind: npm run css:watch diff --git a/app/main.py b/app/main.py index 36bbca6..243a53c 100644 --- a/app/main.py +++ b/app/main.py @@ -78,6 +78,21 @@ HOME_HTML = """\