majecty / codechain-agent

CodeChain monitoring tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeChain Agent Build Status

Requirements

The following are the software dependencies required to install and run CodeChain-agent:

Install dependencies (Ubuntu)

sudo apt install pkg-config libssl-dev

Run

To run CodeChain-agent, just run

cargo run -- --agent-hub-url <agent-hub-url> --codechain-dir <codechain-dir> --codechain-p2p-address <codechain-p2p-address> --name <name>

Formatting

Make sure you run rustfmt before creating a PR to the repo. You need to install the nightly-2018-12-06 version of rustfmt.

rustup toolchain install nightly-2018-12-06
rustup component add rustfmt-preview --toolchain nightly-2018-12-06

To run rustfmt,

cargo +nightly-2018-12-06 fmt

User Manual

Under docs folder, run following command.

make html

User manual will be generated at docs/_build/html.

About

CodeChain monitoring tool


Languages

Language:Rust 100.0%