[erlang-questions] Deployment rebar3

Stefan Hellkvist hellkvist@REDACTED
Mon May 7 16:51:50 CEST 2018



> 7 maj 2018 kl. 16:44 skrev Guilherme Andrade <g@REDACTED>:
> 
> 
> 
>> On 7 May 2018 at 15:03, Stefan Hellkvist <hellkvist@REDACTED> wrote:
>> What's "best" is very much depending on who you ask, but, for starters you may consider wrapping your configuration with something that allows you to override config variables with environment variables (see example below).
> 
> rebar3 releases provide this out of the box:
> 
> https://www.rebar3.org/docs/releases#dynamic-configuration

It is a relx feature, yes, which works fine also in erlang.mk, but I find it sometimes inconvenient that you then HAVE to set the environment variable every time. But, agreed, it is also a good option if you start your release with a script.

Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180507/403694e7/attachment.htm>


More information about the erlang-questions mailing list