Step - by - step guide on how to Install Insights Enterprise - Hyperledger Fabric Network.
Installing Hyperledger Netork covers the initial setup procedures including Installation, Configurations (Hardware, Software, and Network) and various Commands to set up the local server. Also, Hyperledger fabric network setup has been tested in Linux OS platform.
Software Prerequisites
- Docker
- Go Kafka Fabric Network
- Node.js Runtime and NPM
- Python
- curl
- git (git bash to clone the repo)
Latest: https://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html
Version Specific: https://hyperledger-fabric.readthedocs.io/en/release-1.4/prereqs.html
Please browse through the below sections to setup Fabric Network. You can select the network suitable for your environment.
Different types of hyperledger fabric network
- SOLO Orderer
- Kafka Fabric Network
- Raft (etcd/raft) Fabric Network
Step 1 : INSIGHTS_HOME environment variable:
Ensure that the INSIGHTS_HOME environment variable is set, if not set it using the following commands(for RHEL)
- export INSIGHTS_HOME=/usr/INSIGHTS_HOME (change the directory accordingly)
or
- vi /etc/environment
- Add the line: INSIGHTS_HOME=/usr/INSIGHTS_HOME (change the directory accordingly)
- save the file
- Run the command: source /etc/environment
Step 2 : Configuration:
Copy the blockchainConfig.json from PlatformAuditing/src/main/resources/ into $INSIGHTS_HOME and make the necessary changes
Refer here for sample blockchainConfig,json