to build a release.
It can be found under
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.
# start antidote with given short node name as a foreground processNODE_NAME=testing ./antidote foreground# start antidote with given long node name with an erlang interactive console attachedNODE_NAME=testing ./antidote console
The release executable is dynamically configurable with OS environment variables. The default configuration can be found in the config file folder
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
./antidote foreground -kernel logging_level warning -riak_core handoff_port $P1 -ranch pb_port $P2 -antidote pubsub_port $P3 -antidote logreader_port $P4 -antidote_stats metrics_port $P5 -antidote txn_check false ```