Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

CodeChain-io/codechain-agent-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is moved to https://github.com/CodeChain-io/codechain-dashboard

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.