Folks often complain about accidentally committing src/Env.elm.
Ideally we should be able to have:
- a valid
src/Env.elm with purely test or dummy values
- support for an optional
.env where with lamdera live
- any defined values in
.env that match an Env.* config item name, override its value
- any changes to .env live reload as expected
Considerations for a good design:
- Can we make this delightful, such that you can't accidentally typo an Env.elm config name in .env, and not realise you haven't overriden what you thought you did?
Folks often complain about accidentally committing
src/Env.elm.Ideally we should be able to have:
src/Env.elmwith purely test or dummy values.envwhere withlamdera live.envthat match anEnv.*config item name, override its valueConsiderations for a good design: