Hello, i've built my uberjar using leinigen uberjar. I want to run it with lein run, which works, but my system needs about 30 environment variables to start up. Is there a way to add an .env file to lein run?
FWIW, .env is not a standard file, itβs originally nodejs specific which has sort of spread elsewhere and is supported very randomly if at all. A huge +1 for aero from me as well.
Ah i didnt know that π Aero seems to solve my issues also!
a primary benefit of making an uberjar is not needing lein at runtime - why exactly would you use lein run instead of using java to run the uberjar?
(maybe I'm misunderstanding)
maybe have a look at aero? https://github.com/juxt/aero'
Then you can create a config file which has tags for env-vars etc, and defaults etc.
I'll have a look! Thank you