blockchain-explorer for hyperledger fabric1.1
- clone fabric-samples & run fabric
git clone https://github.com/hyperledger/fabric-samples.git
git checkout release-1.1
cd fabric-samples/balance-transfer
./runApp.sh
# in another terminal
./testAPIs.sh
- clone Repository & change the version to release-3.5
git clone https://github.com/hyperledger/blockchain-explorer.git
git checkout release-3.5
apt-get install postgresql postgresql-contrib -y
cd blockchain-explorer/app/persistence/fabric/postgreSQL/db
./createdb.sh
- set fabric network configuration
cd blockchain-explorer/app/platform/fabric
vim config.json
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install --lts
- build blockchain-explorer
cd blockchain-explorer
npm install
cd blockchain-explorer/app/test
npm install
npm run test
cd client/
npm install
npm test -- -u --coverage
npm run build
./start.sh