RUNNING ON 2+ MACHINES: STEPS:
ON ALL MACHINES RUN: $ iex –name node@IPAddress –cookie chocolate -S mix
CONNECT TO OTHER MACHINE: iex>Node.ping :”node2@IP” iex>MainModule.list (Will list all connect nodes) iex>Proj1.main(N,K) (run from your server machine)
** ###################################################### ##Installation
If available in Hex, the package can be installed
by adding newproj1
to your list of dependencies in mix.exs
:
def deps do
[
{:newproj1, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/newproj1.