Natively (Linux)
Antidote is currently supported on the Linux platform and needs Erlang 21 or greater as a runtime dependency.
To get a release, setup your environment and build Antidote by following the building a release guide.
Copy the release folder to the deploy target and start the release binary bin/antidote with the node name configured via the OS variable NODE_NAME (long). Other possible configurations can be found in the Configuring Antidote section.
Example:
1
$ pwd
2
.../antidote/_build/default/rel/antidote
3
$ ls
4
bin erts-10.5 lib releases
5
6
% start antidote with long name and (data and log) directory in the foreground
7
$ [email protected] [email protected]/ bin/antidote foreground
8
9
% start antidote with long name and (data and log) directory in the background and attach a remote console to it
10
11
$ [email protected] bin/antidote remote_console
12
13
% stop antidote
14
$ [email protected] bin/antidote stop
Copied!
Clients can now interact with Antidote via the default port configuration (see Configuration).
Logs and data can be found in the respective directories in the directory denoted by ROOT_DIR_PREFIX (default: no prefix, current working folder).
Last modified 1yr ago
Copy link