dwyl / learn-phoenix-framework

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
648 stars 45 forks source link

Observers and Umbrellas #60

Closed nelsonic closed 7 years ago

nelsonic commented 7 years ago

This code take you through Chapter 12 which does not have a "listing" on the Book's Website. I've done all the steps in the book. and then filled in the gaps to make it pass all tests. 😉

nelsonic commented 7 years ago

find and replace all instances of Rumbl.InfoSys with InfoSys:

image

nelsonic commented 7 years ago

This is why Erlang is sick: image The "observer" is included for FREE! 😍 If you're still in "Node Land" there's: https://github.com/tableflip/guvnor which does an excellent job of monitoring and re-starting node processes.

nelsonic commented 7 years ago

Followed the instructions on p.234 carefully ... but now when I attempt to run mix test I get: image

** (Mix) Could not start application rumbl: Rumbl.start(:normal, []) returned an error: shutdown: 

failed to start child: InfoSys.Supervisor
nelsonic commented 7 years ago

Totes completed the migration! image

samhstn commented 7 years ago

Looks great, can't see any mistakes 👍 happy to merge @SimonLab

iteles commented 7 years ago

Merging as we have 2 reviewer approvals - @danwhy @SimonLab you might want to take a look at this too :blush: