May 4, 2016

The 3 E: Elixir, Exrm, and Environment variables

Intro I’m building a bot for Telegram, once make a build with exrm I found myself some problem configuring the telegram api key using environment variables. I decided to share what I found because my google foo was not helpful at all. TL;DR To configure en elixir application built with exrm use conform and load the environment variable in the trasforms section of the conform schema. config.exs config.exs is where the configuration of elixir project are added. Read more

© Carlo Colombo 2021