Clone iroha
repository on your directory.
git clone -b develop --depth=1 https://github.com/hyperledger/iroha /path/to/iroha
/path/to/iroha/scripts/run-iroha-dev.sh
You will be attached to interactive environment for development and testing with iroha
folder mounted from host machine.
Docker environment will be removed when you logout from the container.
Build:
cmake -H. -Bbuild; cmake --build build -- -j$(nproc)
irohad
and iroha-cli
binaries will be in ./build/bin
directory.
Test:
cmake --build build --target test
Execute run-iroha-dev.sh
again to attach to existing container.