-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: modified: docs/Setup/NodeSDK-setup.md modified: docs/index.md new file: docs/nodeSDK/app-developer-env-setup.md new file: docs/nodeSDK/app-overview.md new file: docs/nodeSDK/node-sdk-guide.md new file: docs/nodeSDK/node-sdk-indepth.md new file: docs/nodeSDK/node-sdk-self-contained.md new file: docs/nodeSDK/sample-standalone-app.md new file: docs/nodeSDK/sample-web-app.md new sample file: examples/sdk/node/standalone-app.js new sample file: examples/sdk/node/web-app.js Change-Id: I65f0f470806bc66a28d151780e1f36cf05b509df Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
- Loading branch information
Showing
11 changed files
with
856 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Setting up the Full Hyperledger fabric Developer's Environment | ||
|
||
1. See [Setting Up The Development Environment](../dev-setup/devenv.md) to set up your development environment. | ||
|
||
2. Issue the following commands to build the Hyperledger fabric client (HFC) Node.js SDK including the API reference documentation | ||
|
||
``` | ||
cd /opt/gopath/src/github.com/hyperledger/fabric/sdk/node | ||
make all | ||
``` | ||
|
||
3. Issue the following command where your Node.js application is located if you wish to use the `require("hfc")`, this will install the HFC locally. | ||
|
||
``` | ||
npm install /opt/gopath/src/github.com/hyperledger/fabric/sdk/node | ||
``` | ||
|
||
Or use point directly to the HFC directly by using the following require in your code: | ||
```javascript | ||
require("/opt/gopath/src/github.com/hyperledger/fabric/sdk/node"); | ||
``` | ||
|
||
4. To see the API reference documentation which is built in step 2: | ||
``` | ||
cd /opt/gopath/src/github.com/hyperledger/fabric/sdk/node/doc | ||
``` | ||
|
||
The [Self Contained Node.js Environment](node-sdk-self-contained.md) will have the reference documentation already built and may be accessed by: | ||
``` | ||
docker exec -it nodesdk /bin/bash | ||
cd /opt/gopath/src/github.com/hyperledger/fabric/sdk/node/doc | ||
``` |
Oops, something went wrong.