Distributing Elixir Applications with Burrito: A Guide for Developers
The article showcases how to use Burrito to create a self-extracting archive for an Elixir project, making it portable across different environments. The author demonstrates the process of creating a binary for use in Ubuntu where Erlang and Elixir are not available and root permissions are not granted. The article provides step-by-step instructions on installing Burrito's dependencies, including XZ, 7zip, and Zig. It also explains how to add Burrito to the project's dependencies and includes code snippets for the necessary modifications. The author also discusses the migration process and how to call migrations automatically at the beginning. The article concludes with the successful execution of the binary on a different machine and the application starting with the migrated database. This guide is a valuable resource for developers looking to distribute their Elixir applications using Burrito.