Use .env for database config, upgrade integrant/repl to 0.5.0

Load .env vars via Makefile, use #env JDBC_URL for all profiles in
system.edn, switch ig/prep to ig/expand, and add missing namespace
requires in core.clj to match elprice project conventions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 15:03:41 +01:00
co-authored by Claude Opus 4.6
parent f7b571f670
commit 5c5834e497
5 changed files with 17 additions and 8 deletions
+2 -2
View File
@@ -33,8 +33,8 @@
:env #ig/ref :system/env}
:db.sql/connection
#profile {:dev {:jdbc-url "jdbc:postgresql://localhost:5432/btcprice?user=btcprice&password=btcprice"}
:test {:jdbc-url "jdbc:postgresql://localhost:5432/btcprice?user=btcprice&password=btcprice"}
#profile {:dev {:jdbc-url #env JDBC_URL}
:test {:jdbc-url #env JDBC_URL}
:prod {:jdbc-url #env JDBC_URL
:init-size 1
:min-idle 1