-
- Install:
$ sudo apt install docker.io docker-compose
- Post-installation:
$ sudo groupadd docker && sudo usermod -aG docker $USER
- Install:
-
Node.js Runtime and NPM:
- Install:
$ sudo apt install npm && npm install npm@5.6.0 -g
- Install:
-
Fabric Samples Repo, binaries and docker images
- This script can help:
$ curl -sSL https://bit.ly/2ysbOFE | bash -s
- This script can help:
- Clone this repository:
$ git clone https://github.com/EnigmaBreaker/PCR && cd PCR
- Copy
bin/
from fabric samples:$ cp -r ../fabric-samples/bin/ .
- Run
start.sh
- To run commands in the running docker container:
$ docker exec -it cli bash
- Run
scripts/script.sh
to set up network and install smart contract.