13 Running the system
This chapter covers:
- Running the system with the Elixir tools
- OTP releases
- Analyzing system behavior
You’ve spent a lot of time building a to-do system, and now it’s time to prepare it for production. There are various ways to start a 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 them. First ...
Get Elixir in Action, Second Edition 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.