Skip to content

Commit

Permalink
[FAB-5145] Make building chaincode tutorial easier
Browse files Browse the repository at this point in the history
While it is possibly implied/required that you
should install libtool from the prereqs section
and/or also clone the fabric, there is really
no need to add this overhead if you simply
want to build chaincode.  We can use the
nopkcs11 build tag to avoid libtool and
we can add go get for getting the shim package

Change-Id: I96936d11dfaa14e2a85d99506deddbcc8fed4c2a
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Jul 1, 2017
1 parent ed381a9 commit ebbf98c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/chaincode4ade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ Now let's compile your chaincode.

.. code:: bash
go build
go get -u --tags nopkcs11 github.com/hyperledger/fabric/core/chaincode/shim
go build --tags nopkcs11
Assuming there are no errors, now we can proceed to the next step, testing
your chaincode.
Expand Down

0 comments on commit ebbf98c

Please sign in to comment.