Deploy/run dApp
This section describes how to deploy and run the Hyperledger Food Supply Chain dApp.
Step 1. Start Hyperledger network and deploy the chaincode
Switch to project folder
Switch to the network folder
Start network
Deploy the chaincode
Step 2. Generate user certificates
Switch to the following folder:
Remove previously generated certificates
Run the following commands in sequence to generate identity certificates for admin and manager/employee users.
Step 3. Run API
Switch to the web API folder
Start the server
How to stop network
Run the following script from the network folder mentioned above
Last updated
Was this helpful?