Uses configurable list of node names. Good for development, or when you know production node names ahead of time. See example below.
config :peerage, via: Peerage.Via.List config :peerage, node_list: [ :"email@example.com", :"firstname.lastname@example.org" ]
$ iex --name email@example.com -S mix # one shell $ iex --name firstname.lastname@example.org -S mix # other shell
I usually wrap the above with a script for launching dev shell,
and prod release shells, so that I just call
bin/dev 1 or
Callback implementation for