Skip to content

Commit

Permalink
Changed docs/nodeSDK/sample-standalone-app.md
Browse files Browse the repository at this point in the history
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: I57ca22527c815d69c7f2fd4e6d1994ffeee3dd43
Signed-off-by: Leonard Harley <leonard.harley@impactchoice.com>
  • Loading branch information
lenh committed Oct 1, 2016
1 parent 131b36c commit 88ce7f2
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
Expand Up @@ -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.
Expand Down

0 comments on commit 88ce7f2

Please sign in to comment.