From adf1f275870b7a2da43b6386cebf66a85f974b24 Mon Sep 17 00:00:00 2001 From: Leonard Harley Date: Sat, 1 Oct 2016 14:59:15 +0400 Subject: [PATCH] Changed docs/nodeSDK/sample-standalone-app.md Cherry picked from 88ce7f2524787ef0701b68996068da9180037b6e 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 Signed-off-by: Leonard Harley --- docs/nodeSDK/sample-standalone-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nodeSDK/sample-standalone-app.md b/docs/nodeSDK/sample-standalone-app.md index 56e51da92e8..8ee2c6249f8 100755 --- a/docs/nodeSDK/sample-standalone-app.md +++ b/docs/nodeSDK/sample-standalone-app.md @@ -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.