Hyperledger explorer setup is now pretty easy. The explorerdb and explorer both functionality is shipped with docker images, however to bring-up the actual explorer again we have to do few additional steps like creating config files and yaml files. The hyperledger-explorer-made-easy breaks all those file generation barriers for you. Just download all pre-requisites and modify input json file and then launch explorer, that's all.
- docker
- docker-compose
- golang
- running hyperledger fabric network (supports latest version 2.2 as of now)
git clone https://github.com/saanvijay/hyperledger-explorer-made-easy.git
cp package/* $GOPATH/src/explorerutils/*
- Make sure you have running Hyperledger Fabric network
- By default all the explorer out files will be generated in "/tmp" dir, but you can set env variable to override it (export EXPLORER_OUT_CONFIG_PATH=/your/explorer/out/path)
cd test
- Edit input fields as per your requirements (explorerinput.json)
go run launchExplorer.go (wait for couple of mins)
- Open browser and type "localhost:8080" (default port)
Vijaya Prakash
https://www.linkedin.com/in/saanvijay/