Chapter 13. Running the system

This chapter covers

  • Running the system with the mix tool
  • OTP releases
  • Analyzing system behavior

You spent a lot of time building your to-do system, and it’s time to prepare it for production. There are various ways to start your system, but the basic idea is always the same. You have to compile your code as well as your dependencies. Then you start the BEAM instance and ensure that all compiled artifacts are in the load path. Finally, from within the BEAM instance, you need to start your OTP application together with its dependencies. Once the OTP application is started, you can consider your system to be running.

There are various approaches to achieving this, and in this chapter, we’ll focus on two of ...

Get Elixir in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.