Skip to content

dhyey20/connect-a-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connect-a-cloud

Run using start script

- Copy your HSBN Bluemix Service Credentials to service-creds.json file.

- Make changes in the start.sh file -> Add CHANNEL, COMPANY, USER1, USER2, USER3

- Run the start script (Requires python)

Build the peer image

cd peer-image
./build.sh

Build the marbles image

cd marbles-image
./build.sh

Start the peer

cd start-up
PEER_MSPID= CA_URL= CA_USER= CA_PASSWORD= ORDERER_URL= CHANNEL_NAME= ./start-peer.sh
#URLs here should not contain the protocol part like https and grpcs
#CA_USER & CA_PASSWORD are the enrollID and enrollSecrets that you get in the credentials block from bluemix

Start marbles app

cd start-up
PEER_MSPID= ORDERER_MSPID= CA_URL= CA_USER= CA_PASSWORD= ORDERER_URL= CHANNEL_NAME= CHAINCODE_ID= CHAINCODE_VERSION= COMPANY= USER1= USER2= USER3= ./start-marbles.sh
#URLs here should not contain the protocol part like https and grpcs
#CA_USER & CA_PASSWORD are the enrollID and enrollSecrets that you get in the credentials block from bluemix

NOTE:

  • delete all the chaincode images from previous run for the new tls certs to be used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages