January 2018
Intermediate to advanced
220 pages
5h 5m
English
We’ll begin by creating a brand-new Elixir application called islands_engine. We’ll make it a supervised application, which most Elixir applications are, because process supervision is the mechanism that provides the tremendous fault tolerance we get from the BEAM. We’ll look at supervisors in a lot more detail in Chapter 5, Process Supervision for Recovery.
The command we’ll use to create our new application is mix new islands_engine --sup:
| | $ mix new islands_engine --sup |
| | * creating README.md |
| | * creating .gitignore |
| | * creating mix.exs |
| | * creating config |
| | * creating config/config.exs |
| | * creating lib |
| | * creating lib/islands_engine.ex |
| | * creating lib/islands_engine/application.ex |
| | * creating test |
| | * creating ... |
Read now
Unlock full access