Skip to content

Commit 938a3e6

Browse files
committed
[FAB-6895] Update doc for chaincode mounting
This changes the manual peer chaincode install command to reflect the correct path of the mounted volume on the CLI container. Also fixes an inline reference [ci-skip] Change-Id: I46472af16dbdfe7ece355ba8020137cea0510dce Signed-off-by: Nick Gaski <ngaski@us.ibm.com>
1 parent 75714ff commit 938a3e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/build_network.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Start your network:
495495
If you want to see the realtime logs for your network, then do not supply the ``-d`` flag.
496496
If you let the logs stream, then you will need to open a second terminal to execute the CLI calls.
497497

498-
.. _peerenvvars::
498+
.. _peerenvvars:
499499

500500
Environment variables
501501
^^^^^^^^^^^^^^^^^^^^^
@@ -651,15 +651,15 @@ place the specified source code flavor onto our peer's filesystem.
651651
.. code:: bash
652652
653653
# this installs the Go chaincode
654-
peer chaincode install -n mycc -v 1.0 -p github.com/chaincode_example02/go/
654+
peer chaincode install -n mycc -v 1.0 -p github.com/chaincode/chaincode_example02/go/
655655
656656
**Node.js**
657657

658658
.. code:: bash
659659
660660
# this installs the Node.js chaincode
661661
# make note of the -l flag; we use this to specify the language
662-
peer chaincode install -n mycc -v 1.0 -l node -p /opt/gopath/src/github.com/chaincode_example02/node/
662+
peer chaincode install -n mycc -v 1.0 -l node -p /opt/gopath/src/github.com/chaincode/chaincode_example02/node/
663663
664664
Next, instantiate the chaincode on the channel. This will initialize the
665665
chaincode on the channel, set the endorsement policy for the chaincode, and

0 commit comments

Comments
 (0)