Remove DB, Binance WebSocket, and Kraken pollers from btcprice. UI now uses vanilla EventSource connecting to btcdata for live price updates. btcprice is now a pure UI service with no database. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
501 B
Clojure
26 lines
501 B
Clojure
(ns user
|
|
(:require
|
|
[integrant.core :as ig]
|
|
[integrant.repl :refer [go halt reset reset-all set-prep!]]
|
|
[integrant.repl.state :as state]
|
|
[pmagnus.btcprice.config :as config]
|
|
[pmagnus.btcprice.core]))
|
|
|
|
(defn dev-prep! []
|
|
(set-prep!
|
|
(fn []
|
|
(-> (config/system-config {:profile :dev})
|
|
(ig/expand)))))
|
|
|
|
(defn test-prep! []
|
|
(set-prep!
|
|
(fn []
|
|
(-> (config/system-config {:profile :test})
|
|
(ig/expand)))))
|
|
|
|
(comment
|
|
(dev-prep!)
|
|
(go)
|
|
(reset)
|
|
(halt))
|