Building a Release
Use
to build a release.
It can be found under _build/default/rel/antidote
.
Using a Release
After building a release with make rel
, Antidote can be started with the generated executable file. The release executable is located at _build/default/bin/rel/antidote/releases/bin/antidote
. It should be started with the node name and cookie configured. Setting the cookie is optional, setting the node name is mandatory.
Dynamic Release Configuration
The release executable is dynamically configurable with OS environment variables. The default configuration can be found in the config file folder config
. Only NODE_NAME
, COOKIE
, ROOT_DIR_PREFIX
, LOGGER_DIR_PREFIX
and DATA_DIR_PREFIX
are expected to be provided via OS environment variables. All other configuration has to be set via erlang application environment arguments -Application Par Val
, where variable expansion can be used in the Val
part.
Example:
Last updated