Files
ark/website/docs/provider/coordinator/run-standalone.md
Marco Argentieri 8371e9f1c2 rename dev_portal to website (#20)
* rename dev_portal to website

* rename dev_portal to website

* master not main
2023-11-29 00:35:10 +01:00

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:

  1. Download the lastest release of the service and the CLI for Linux or MacOS.
  2. Rename the binaries coordinatord and coordinator , move them to your PATH (eg. /usr/local/bin), and grant them exec permissions with chmod +x /usr/local/bin/coordinatord and chmod +x /usr/local/bin/coordinator.
  3. 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.