Skip to content
Find file History
Pull request Compare This branch is 10 commits behind erlware:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
resource_discovery
simple_cache
.gitignore
README
install.sh
simple_cache.rel
simple_cache.sh
sys.config

README

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:

erl -sname contact1 -detached

Then, start the system like this (all on a single line):

erl -sname mynode -pa ./simple_cache/ebin -pa ./resource_discovery/ebin/ -boot ./simple_cache -config sys

(Recall that the initial node discovery waits a few seconds at startup.)

You can now e.g. run appmon:start() to inspect your running system.
Something went wrong with that request. Please try again.