1.3 KiB
sidebar_position, title
| sidebar_position | title |
|---|---|
| 2 | Run Standalone |
The Coordinator can be served as a standalone binary by following the steps below:
- Download the lastest release of the service and the CLI for Linux or MacOS.
- Rename the binaries
coordinatordandcoordinator, move them to your PATH (eg./usr/local/bin), and grant them exec permissions withchmod +x /usr/local/bin/coordinatordandchmod +x /usr/local/bin/coordinator. - Start the service with
ARK_COORDINATOR_LOG_LEVEL=5
coordinatord & > ~/ark-logs/coordinator.logs.txt &
The command above redirects all the logs to the file ~/ark-logs/coordinator.logs.txt. Therefore you can check the logs of the service at anytime by consulting that file.
The Coordinator service makes use of a datadir - defaults to ~/.coordinatord on Linux, ~/Library/Application\ Support/Coordinatord on MacOS - that can be customized by exporting the environment variable export ARK_COORDINATOR_DATADIR=path/to/datadir at its startup.
You can configure the Coordinator by the means of environment variables or by adding a config.json file to the service's datadir. Learn more about this by visiting this section.
Once the service is started you can configure the CLI and start interacting with it.