Fork me on GitHub
#tools-deps
<
2022-02-11
>
jasonjckn20:02:15

Anyone have tips for managing env vars in a project , so cider-jack-in has the right env vars, etc. Having multiple configurations dev, prod, etc. Iā€™m testing direnv right now.

Darin Douglass21:02:39

I like the defaults to work with local development then override the needful vars during deployment

šŸ‘€ 1
practicalli-johnny12:02:57

I use juxt/aero for managing environment variables in Clojure projects. They work well with component lifecycle services (Integrant, Component, etc) https://practical.li/clojure-web-services/repl-driven-development/integrant-repl/#aero-tag-literals

šŸ‘ 1
practicalli-johnny12:02:12

Spacemacs (and Doom Emacs I think) have .env files that can be reloaded. However, it the values of an environment variable change, then I believe the REPL will need to be restarted to pick them up.