Skip to content

Commit

Permalink
Changed docs/nodeSDK/sample-standalone-app.md
Browse files Browse the repository at this point in the history
Cherry picked from 88ce7f2

Current doc instructs user to run app.js file with "node app"
which does not work. Updated doc contains cmd line run instructions
and edits to app.js file if user does not want to pass cmd line
arguments.

Fix Issue # FAB-576.

Change-Id: Ic4d23c9d90ef60a3db03dda34423679786b1b6f5
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
Signed-off-by: Leonard Harley <leonard.harley@impactchoice.com>
lenh authored and christo4ferris committed Nov 2, 2016
1 parent ab937f5 commit adf1f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/nodeSDK/sample-standalone-app.md
Original file line number Diff line number Diff line change
@@ -39,10 +39,10 @@ This section describes how to run a sample standalone Node.js application which
npm install /opt/gopath/src/github.com/hyperledger/fabric/sdk/node
```

* Run the application as follows:
* To run the application :

```
node app
CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 MEMBERSRVC_ADDRESS=0.0.0.0:7054 DEPLOY_MODE=dev node app
```

Congratulations! You've successfully run your first Hyperledger fabric application.

0 comments on commit adf1f27

Please sign in to comment.