-
Notifications
You must be signed in to change notification settings - Fork 1
Home
magnusfeuer edited this page Apr 13, 2012
·
13 revisions
Welcome to the exodm wiki!
This is an integration project for the Exosense Device Manager. It should be usable as a skeleton for other systems as well.
The idea is to be able to quickly modify the system setup, add or remove applications, and change the configuration, and then rebuild, regenerate, and get the system up and running.
How to configure the system How to the exosense configuration system works
-
make
, ormake compile
pulls down dependencies and does a normal rebar compile -
make release
(does amake compile
and) sets up a system configuration for RelTool -
make generate
generates the configuration setup bymake release
-
n=<Node> make node
sets up a local directory for starting an erlang node (e.g.n=n1 make node
) -
n=<Node> make start | console | attach | stop
starts, stops or attaches to the given node
Which commands to run depends on what changes you've made (would be wonderful if the make system could determine this for you, but we're not there yet):
- If you've made changes to code and/or config data:
make generate
to update the system build. Note that the code is copied to a separate file structure, so just recompiling won't suffice. - If you've made changes to e.g. the list of applications, or the rel/reltool.config.src:
make release