Skip to content

Commit

Permalink
[FAB-7976]add Node.js CC interface links
Browse files Browse the repository at this point in the history
Added a link to the Node.js shim document
https://fabric-shim.github.io/ where Node.js chaincode is used.
This will help application developers to understand the APIs 
and sample chaincodes.

Change-Id: I237abc376412dab195a357e314ce8a3e29b35c98
Signed-off-by: Min Luo <luomin_tokyotech@hotmail.com>
  • Loading branch information
luomin committed Feb 14, 2018
1 parent 86aed91 commit e33fb74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/source/build_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Next, you can bring the network up with one of the following commands:
The above command will compile Golang chaincode images and spin up the corresponding
containers. Go is the default chaincode language, however there is also support
for Node.js chaincode. If you'd like to run through this tutorial with node
for `Node.js <https://fabric-shim.github.io/>`__ chaincode. If you'd like to run through this tutorial with node
chaincode, pass the following command instead:

.. code:: bash
Expand Down
8 changes: 4 additions & 4 deletions docs/source/dev-setup/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ To run a specific test use the ``-run RE`` flag where RE is a regular
expression that matches the test case name. To run tests with verbose
output use the ``-v`` flag. For example, to run the ``TestGetFoo`` test
case, change to the directory containing the ``foo_test.go`` and
call/excecute
call/execute

::

go test -v -run=TestGetFoo



Running Node.js Unit Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~
Running Node.js Client SDK Unit Tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You must also run the Node.js unit tests to insure that the Node.js
You must also run the Node.js unit tests to ensure that the Node.js
client SDK is not broken by your changes. To run the Node.js unit tests,
follow the instructions
`here <https://github.com/hyperledger/fabric-sdk-node/blob/master/README.md>`__.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/write_first_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ chaincode written in Golang:
./startFabric.sh
You also have the option of running this tutorial against chaincode written in
Node.js. If you'd like to pursue this route, issue the following command instead:
`Node.js <https://fabric-shim.github.io/>`__. If you'd like to pursue this route, issue the following command instead:

.. code:: bash
Expand Down

0 comments on commit e33fb74

Please sign in to comment.