Configure Blockchain on Windows
Configuring Windows for Hyperledger
Updated: 03 September 2023
Script
Before running the below script, ensure that you are in Administrator Powershell and that your Execution Policy is set to Remote Signed, if not then first run the following command
Then run the script below
This will install the necessary prerequisites and should also set up the environment variables as well as the Go Workspace, but you may need to verify that the below steps were completed correctly
(Don’t know how accurate this script is as it may not necessarily work, but the instructions are as follows)
Received Instructions
Install Git for Windows x64 to include Uname command
Extract binaries + add to Env Variables
https://store.docker.com/editions/community/docker-ce-desktop-windows
Install Windows Xxtras
Node JS - https://nodejs.org/download/release/v8.9.4/ https://hyperledger-fabric.readthedocs.io/en/release-1.3/prereqs.html#id1
Install Go
- Set Env Variables, PATH, GOPATH
- Create Workspace
(Not sure if this will work on Powershell/how it would be done correctly)
Install Python
https://www.python.org/downloads/release/python-2715/
Set up Docker Shared Drives
https://docs.docker.com/docker-for-windows/#shared-drives
- 1SET Env PATH var:
D:\Development\hyperledger\fabric-samples\bin
- NEW ENV VAR