This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-28
Channels
- # beginners (2)
- # calva (8)
- # capetown (1)
- # clojure (28)
- # clojure-europe (6)
- # clojure-norway (82)
- # clojure-sweden (1)
- # clojuredesign-podcast (5)
- # clojurescript (26)
- # core-async (3)
- # cryogen (7)
- # datahike (30)
- # datomic (10)
- # figwheel-main (8)
- # honeysql (8)
- # hyperfiddle (15)
- # jobs-discuss (6)
- # lsp (6)
- # matrix (6)
- # off-topic (12)
- # overtone (1)
- # polylith (6)
- # portal (6)
- # releases (1)
- # shadow-cljs (9)
- # sql (1)
- # xtdb (5)
@seancorfield Do you have a complete example somewhere on how you integrated your REPL toolset into a polylith component so you can connect to the deployed server? I saw your post about creating a component for it to include which described some of your setup but not how you are using it. I'd like to add a remote repl to a containerized uberjar I'm deploying and Clojure's docs (and posts, etc.) are obscure on how to do so .. and Practicalliii's template seems too complex to merge in.
The meat of it is described in this blog post https://corfield.org/blog/2022/12/18/calva-joyride-portal/ -- the maybe-start-server
function is in the implementation, the nREPL/Portal "starters" are defonce
in the interface.
Any app that depends on that component gets nREPL and Portal started up.
I'm not sure what's missing from that blog post to bridge the gap of "how you are using it"...?
Thanks Sean. I'm not sure. I missed the interface defs somehow. I'll blame it on brain fog from the cold I've contracted lol.
No problem. Happy to update the post if it can be made clearer!