weavejester / environ

Library for managing environment variables in Clojure
922 stars 71 forks source link

creating of shell script for environment #72

Open ChipNowacek opened 7 years ago

ChipNowacek commented 7 years ago

Noob question: any suggestions for programmatically creating a production shell script with environment variables from the map in profiles.clj? I know I can just hard code the values. It's just that doing it programmatically with save spelling mistakes, omissions and other changes.

weavejester commented 7 years ago

Ideally you shouldn't be using the environment map as a substitute for your configuration. Create a configuration from values in the environment map, but don't use the environment directly as your configuration.