Skip to content

Commit

Permalink
Fix setup instructions
Browse files Browse the repository at this point in the history
Minor modification to curl params to add request before get.

Change-Id: Ibb619838de26cc1e36761894f32c291adb2c3fcf
Signed-off-by: Russ Ehmke <russ@ehmke.net>
  • Loading branch information
rehmke committed Dec 6, 2016
1 parent ede30a4 commit 314dd5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Setup/Chaincode-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ If you are using either [Option 2](#option-2-docker-for-mac-or-windows) or [Opti
```
mkdir -p $GOPATH/src/github.com/chaincode_example02/
cd $GOPATH/src/github.com/chaincode_example02
curl GET https://raw.githubusercontent.com/hyperledger/fabric/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go > chaincode_example02.go
curl --request GET https://raw.githubusercontent.com/hyperledger/fabric/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go > chaincode_example02.go
```

Next, you'll need to clone the Hyperledger fabric to your local $GOPATH, so that you can build your chaincode. **Note:** this is a temporary stop-gap until we can provide an independent package for the chaincode shim.
Expand Down

0 comments on commit 314dd5c

Please sign in to comment.