Random Notes

Viewing posts for April 2021.

Simple Configuration Setup for Elixir Projects (v1.11+)

I’ve written about Elixir configuration in an earlier post, describing the differences in the configuration styles. If you don’t know how Elixir configuration works, I suggest reading it also. In this post, I will demonstrate a system for configuring an Elixir project using the config/runtime.exs system introduced in Elixir 1.11. This system is how I configure my projects, so feel free take it as inspiration, but it’s not a law that you have to follow.

Read more…