Skip to content

Commit

Permalink
added instructions for generating boot files
Browse files Browse the repository at this point in the history
  • Loading branch information
richcarl committed Oct 10, 2010
1 parent 85d90fc commit 009f1a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chapter_10/README
Expand Up @@ -3,6 +3,10 @@ To build this code, run the following commands:
erlc -o ./simple_cache/ebin ./simple_cache/src/*.erl
erlc -o ./resource_discovery/ebin ./resource_discovery/src/*.erl

Then run the following (all on a single line) to generate the .boot file:

erl -pa ./simple_cache/ebin -pa ./resource_discovery/ebin -eval 'systools:make_script("simple_cache", [local])' -s init stop

First start one or two contact nodes. Ensure that the node names
in the sys.config files match your host name, and/or use -sname
instead of -name. For example, do:
Expand Down

0 comments on commit 009f1a6

Please sign in to comment.