About the Code
Elixir is required for this book, although setup is a bit outside of this book’s focus. I recommend using a version manager like asdf[1] in order to configure both Erlang and Elixir. Make sure to use a recent version of both—I used OTP 22 and Elixir 1.9 for all examples. You will also need to have Phoenix installed for the samples in this book. You can follow the HexDocs Installation guide[2] in order to get Phoenix set up.
Elixir snippets in this book are not formatted according to the Mix formatter, due to book formatting needs. You can use mix format to make sure all snippets that you copy or hand-type are formatted properly.
Part II uses an application that comes already started for you. This helps keep the focus of the ...
Get Real-Time Phoenix 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.