Skip to content

Starting point for a hands-on Erlang tutorial session

Notifications You must be signed in to change notification settings

pmech/ErlangPlayBase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basis project for Erlang GOTONight;
===================================

Searchable documentation site: http://www.erlang.org/erldoc?q=make&x=0&y=0


All commands below assume you are standing in the root directory of ErlangPlayBase.

  $> means OS shell
  >  means erlang shell

Command line compilation:

  $> erl -make

Erlang shell compilation :

  > make:all([load]).

Single-node shell:

  $> erl -pa ebin

Distributed shell:

  $> erl -pa ebin -name <your-name>@<IP-address>

Remote shell:

  $> erl -pa ebin -name <remote-name>@<IP-address> -remsh <your-name>@<IP-address>

Starting chat client:

  $> erl -pa ebin -name <your-name>@<IP-address>
  > net_adm:ping('chatserver@<IP...>').
  > nodes(). # should return a list of visible node names
  > chat_client:start(chatroom:global_chatroom()).

About

Starting point for a hands-on Erlang tutorial session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 96.7%
  • Makefile 3.3%