I have created a simple distributed chat application using erlang and want to build it using rebar3. The application consists of some modules such as server.erl
, client.erl
, chatroom.erl
. I build the applcation using below command
rebar3 new app chat
I can run the server using
rebar3 shell --sname server
the server.erl
is run when the application starts. Now, I want a client to create a server node and connect to the server and send some messages. For example:
client:login(name).
How to do this please? shall I navigate to the client.beam file or there is another short way ?