Hacker News new | ask | show | jobs
by srpablo 2540 days ago
OTP releases let you build something akin to this, where the runtime and all the dependencies are bundled in; so long as you built it for the right architecture (much like a binary), it's a single command to run your app.

This used to be done with Distillery[1], but I suspect its use will go down now that Elixir has native OTP releases.[2].

In either case, there's still work behind it, but it's not like deploying Ruby, Python, or Node, where you have to be pretty careful about library paths and runtime versions.

   [1]: https://github.com/bitwalker/distillery
   [2]: https://elixir-lang.org/blog/2019/06/24/elixir-v1-9-0-released/