Wrapping Up
In this chapter, we addressed deployment, the first step toward moving our development application into production. It was a long process with several steps.
First, we looked at an overly simplified approach to deployment with nothing but a few Mix tasks. We pushed that solution further to include a build server, and worked in some configuration. Then, we added run_erl to direct standard out to a file with rotating logs. Finally, we looked at heart, which provides heartbeat support. We soon learned that Mix couldn’t take us as far as we wanted to go.
Next, we formalized the production deployment process a bit. We introduced the concept of a release, a set of artifacts that run on a production server. We implemented a Distillery deployment ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access