From 009f1a65b7c7255c29c9cbaf533b1e4f0cbfe868 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Sun, 10 Oct 2010 12:58:10 +0200 Subject: [PATCH] added instructions for generating boot files --- chapter_10/README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chapter_10/README b/chapter_10/README index 364b667..63e8295 100644 --- a/chapter_10/README +++ b/chapter_10/README @@ -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: