This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-12
Channels
- # babashka (26)
- # beginners (19)
- # biff (4)
- # cider (44)
- # clerk (7)
- # clj-kondo (12)
- # clojure (25)
- # clojure-austin (9)
- # clojure-denmark (2)
- # clojure-europe (28)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-norway (35)
- # clojure-spec (7)
- # clojure-sweden (5)
- # clojure-uk (6)
- # cursive (22)
- # datascript (1)
- # datomic (4)
- # dev-tooling (2)
- # events (3)
- # gratitude (1)
- # honeysql (30)
- # hoplon (6)
- # hyperfiddle (4)
- # malli (4)
- # missionary (3)
- # off-topic (2)
- # overtone (2)
- # pathom (21)
- # reitit (3)
- # releases (4)
- # shadow-cljs (32)
- # sql (22)
- # xtdb (8)
- # yamlscript (6)
I'm going through the server deployment script right now, and I see babashka, and something new to me, trenchman. My questions for both are the same: is it needed, and if so, what is it used for?
Trenchman is used by the clj -M:dev soft-deploy
command, so it can run an ssh command that then talks to the production app over nrepl (specifically, it tells the server to call your on-save
function): https://github.com/jacobobryant/biff/blob/9eaa3251b252ae9bb368105519e83e2b6b0efe1f/libs/tasks/src/com/biffweb/tasks.clj#L371
babashka was used previously to start the app, until I switched to using clj -M:dev ...
commands for everything. I don't think babashka is necessary anymore; pretty sure I just forgot to take it out of the server-setup.sh
script.
Trenchman can serve a remote nrepl, to interact with production instance of app. https://github.com/athos/trenchman Not sure if that is the main repl (for optional develop in prod?) or if for something else.