Delivery-focussed Elixir, Python, XSL/XQuery, (No)SQL, and Agile consultancy, specialising in content migration, API design, and (micro)services.
Quick tips for Elixir deployments
Just some quick notes around Elixir deployments, in no particular order…
In tutorials, where you see
exrm, be sure to use Distillery.
It’s taking over from
exrm and the tutorials haven’t yet caught up.
If you see an error like the following:
[info] Application myapp exited: MyApp.start(:normal, ) returned an error: shutdown: failed to start child: MyApp.Endpoint ** (EXIT) shutdown: failed to start child: Phoenix.CodeReloader.Server
…try rerunning the release with both
--env set to the same env. For example:
$ MIX_ENV=prod mix release --env=prod