November 2018
Intermediate to advanced
528 pages
13h 21m
English
Get the source code of this from the PacktPub GitHub repository if you haven’t already done so. Once you download the source code, navigate to the directory blockchain-by-example/fsc-restful. The example we will run here is based on a Fabric sample project, located at github: https://github.com/hyperledger/fabric-samples.
To run the web application shipped with the book's code, we first need to bring up the Fabric network. We make sure that no other active container is running by using:
sudo ./script.sh –m down
Then, clear any unused networks:
docker network prune
Navigate to the webapp/ folder and run:
npm install
You'll have to wait for npm to install a few packages. Once the operation is successfully ...
Read now
Unlock full access