Finally lets install marble's npm dependencies.
-
Open a command prompt/terminal and navigate to the marbles directory.
-
In the command prompt/terminal type:
> npm install gulp -g > npm install
-
Almost there! -If you are using a local network use this command: > gulp marbles3
- If you are using a bluemix network, use this command:
gulp marbles1
- If you are using a bluemix network, use this command:
-
If all goes well you should see this message in the console:
- Go to your browser at the url specified in the console and login. You do not need to enter a password or change the prefilled username of
admin
.
- Next the settuping up panel should pop up. Ideally it will walk itself through the 3 stages of initial setup.
- Enroll Admin - this step is communicating with your network's CA to verify the admin user credentails (enrollID/enrollSecret)
- If it fails double check the enrollID and enrollSecret fields in your
blockchain_creds1.json
file
- If it fails double check the enrollID and enrollSecret fields in your
- Finding Chaincode - this step is looking for the marbles chaincode on your peer. It is using the chaincode ID found in your
blockchain_creds1.json
file. If this is a brand new network it will not exist yet.- If the chaincode was instantiated but it was unable to find it try the "Retry" button.
- Register Marble Owners - this step will create the marble owners you specificed in the
blockchain_creds1.json
file- This can take awhile 1-2minutes. Check your console logs for progress.
- Enroll Admin - this step is communicating with your network's CA to verify the admin user credentails (enrollID/enrollSecret)
- Once you see this message you are good to go:
- Marbles is all setup! Now continue the tutorial.