This project is moved to https://github.com/CodeChain-io/codechain-dashboard
The following are the software dependencies required to install and run CodeChain-agent:
sudo apt install pkg-config libssl-dev
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>
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
Under docs
folder, run following command.
make html
User manual will be generated at docs/_build/html
.