This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-08
Channels
- # announcements (22)
- # aws (4)
- # babashka (25)
- # beginners (78)
- # calva (9)
- # cider (22)
- # cljdoc (2)
- # cljsrn (2)
- # clojure (27)
- # clojure-australia (7)
- # clojure-europe (22)
- # clojure-nl (15)
- # clojure-uk (26)
- # clojurescript (20)
- # datahike (3)
- # datomic (15)
- # events (1)
- # helix (5)
- # honeysql (4)
- # kaocha (1)
- # malli (1)
- # meander (1)
- # off-topic (84)
- # pathom (14)
- # re-frame (3)
- # reagent (28)
- # reitit (6)
- # sci (1)
- # shadow-cljs (78)
- # tools-deps (30)
morning
does anybody have a decent pattern for passing env vars to a reframe app? i've got a workaround but it's sh-sh-sh-shonky
@alex.lynham You're looking for https://www.martinklepsch.org/posts/parameterizing-clojurescript-builds.html 🙂
Ah yeah ok so this is pretty much what I'm doing. Was curious if there was a way to directly use env vars on say a hosting box but this will do
Thanks for the link man!
Hmm, if it's vars on the hosting box I generally see this done by generating HTML with vars like:
[:script "let xxx='" (System/getenv "BLAH") "'"]
Which isn't great either really. Does webpack have a different solution to this? I can't imagine it does?similar really, pass 'em in when you build and they get assigned to a config fie
makes you realise how spoiled one is on the server side
something something interactive something something the ceo's niece showed them facebook something something two weeks to do an mvp something something
as i recall 😂
we all woke up one morning as js developers
I wonder if it's too late to jump to the alternative branch of history where the terminals at a mainframe model won instead...
https://en.wikipedia.org/wiki/Centralized_computing I wonder what the most modern version of this is. As in, not just thin clients but an actual protocol that requires a persistent session to a server to work but has other benefits like not using js.
i suppose the current era and paradigm will pass before long, just like all things
probably js has so much mindshare now though that whatever comes next will still be js lol
måning¡