Skip to content

Commit 88ce7f2

Browse files
committed
Changed docs/nodeSDK/sample-standalone-app.md
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 <[email protected]>
1 parent 131b36c commit 88ce7f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/nodeSDK/sample-standalone-app.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ This section describes how to run a sample standalone Node.js application which
3939
npm install /opt/gopath/src/github.com/hyperledger/fabric/sdk/node
4040
```
4141

42-
* Run the application as follows:
42+
* To run the application :
4343

4444
```
45-
node app
45+
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
4646
```
4747

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

0 commit comments

Comments
 (0)