Skip to content

Commit

Permalink
spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
dshuffma-ibm committed Mar 23, 2017
1 parent 4536a3d commit 97bafdf
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 303 deletions.
23 changes: 11 additions & 12 deletions docs/install_chaincode.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Install and Instantiate Chaincode w/Bluemix

1. If you are not currently on the Blockchain "Resources" page... then get there via:
1. Login to [Bluemix](https://console.ng.bluemix.net)
1. Get to your dashboard by clicking the "Menu" icon on the top left and then clicking the "Dashboard" link
1. Under "All Services" locate your the Blockchain row and click it
1. Enter your IBM Blockchain Service's dashboard by clicking the "Enter" button
1. Login to [Bluemix](https://console.ng.bluemix.net)
1. Get to your dashboard by clicking the "Menu" icon on the top left and then clicking the "Dashboard" link
1. Under "All Services" locate your the Blockchain row and click it
1. Enter your IBM Blockchain Service's dashboard by clicking the "Enter" button

1. If you are on the "Resources" page already, then click the "Chaincode" link on the left navigation

Expand All @@ -18,7 +18,7 @@
- Fill out the chaincode name as "marbles"
- Fill out the chaincode version as "v0"
- Select the "Choose Files" button and select **all 5** files found in `<marbles directory>/chaincode/src/marbles`
- Alternatively you can zip up the 5 .go files and submit a single zip file
- Alternatively you can zip up the 5 .go files and submit a single zip file
- Click "Submit"

![](/doc_images/11-installed-marbles.PNG)
Expand All @@ -30,9 +30,9 @@
![](/doc_images/12-instantiate-marbles.PNG)

- The arguments input box is for entering the arguments we want to pass to our chaincode's Init() function.
- Typically this is an array of strings. As you type you can see exactly what will be sent in the lower input named "Chaincode Arguments".
- Marbles chaincode is expecting a single numeric input argument. Therefore enter your favorite number. Mines 314.
- Marbles chaincode will store this number to the ledger as a self-test of sorts. It can literaly be any number you want.
- Typically, this is an array of strings. As you type you can see exactly what will be sent in the lower input named "Chaincode Arguments".
- Marbles chaincode is expecting a single numeric input argument. Therefore, enter your favorite number. Mines 314.
- Marbles chaincode will store this number to the ledger as a self-test of sorts. It can literaly be any number you want.
- Next from the "Channel" drop down, select our 1 and only channel
- Then click the "Submit" button
- If it went well the chaincode page will refresh
Expand All @@ -45,11 +45,11 @@
- Click the "Chaincode" tab
- On this panel, you should see something simialr to the picture above. Marbles is instantiated on at least one peer
- Expand the row to see which peer
- Click the log button to see if marbles has started up. You should log messages like:
- Click the log button to see if marbles started up. You should log messages like:

```
Marbles Is Starting Up
- ready for action
Marbles Is Starting Up
- ready for action
```

- The last thing we need to do is grab all the service instance's credentials for our network. We will use this data to inform the marbles node.js application of our blockchain's networking addresses and credentials.
Expand All @@ -63,4 +63,3 @@ Congrats! The network is all setup and marbles chaincode is running.

- Continue where you left off in the [tutorial](./tutorial_start_here.md#hostmarbles).


Loading

0 comments on commit 97bafdf

Please sign in to comment.