Hi,
At my workplace we use virtual machines for development and before release,
we usually clone production machine, test the release and then go live.
The only thing, that changes in clones is hostname and ip.
How can I achieve an "if" in my boss.config, for example:
case hostname of
"production" -> {db_host, Ip1};
"staging" -> {db_host, Ip2}
end
If I can't do it in config,
should I evaluate them dynamically using script in ./priv/init?