Add README, update docker-compose and CLAUDE.md
Docker runs on port 4041 alongside local dev on 4000. Include btcdata docker-compose for unified startup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# btcprice
|
||||
|
||||
Bitcoin price tracker UI — Clojure Kit web application. Serves the HTML/HTMX/Tailwind UI. Connects to btcdata for live price data via SSE.
|
||||
Bitcoin price tracker UI — Clojure Kit web application. Serves the HTML/Tailwind UI. Connects to btcdata for live price data via SSE.
|
||||
|
||||
## Build & Development Commands
|
||||
|
||||
@@ -9,6 +9,18 @@ Bitcoin price tracker UI — Clojure Kit web application. Serves the HTML/HTMX/T
|
||||
- `make test` — Run tests
|
||||
- `make tailwind` — Watch Tailwind CSS for changes
|
||||
- `make uberjar` — Build production JAR
|
||||
- `docker compose up -d` — Start btcprice + btcdata containers
|
||||
|
||||
## Docker
|
||||
|
||||
Docker runs alongside local dev on different ports:
|
||||
|
||||
| Service | Local dev | Docker |
|
||||
|----------|----------------|----------------|
|
||||
| btcprice | localhost:4000 | localhost:4041 |
|
||||
| btcdata | localhost:4100 | localhost:4101 |
|
||||
|
||||
btcprice's docker-compose includes btcdata via `include: ../btcdata/docker-compose.yml`.
|
||||
|
||||
## REPL Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user