Merge "[FAB-15723] Fix script and instruction with ccenv"

This commit is contained in:
Gari Singh 2019-07-10 09:45:20 +00:00 committed by Gerrit Code Review
commit a872358668
2 changed files with 6 additions and 6 deletions

View file

@ -76,24 +76,24 @@ Terminal 2 - Build & start the chaincode
.. code:: bash
docker exec -it chaincode bash
docker exec -it chaincode sh
You should see the following:
.. code:: bash
.. code:: sh
root@d2629980e76b:/opt/gopath/src/chaincode#
/opt/gopath/src/chaincode $
Now, compile your chaincode:
.. code:: bash
.. code:: sh
cd abstore/go
go build -o abstore
Now run the chaincode:
.. code:: bash
.. code:: sh
CORE_CHAINCODE_ID_NAME=mycc:0 CORE_PEER_TLS_ENABLED=false ./abstore -peer.address peer:7052

View file

@ -77,7 +77,7 @@ services:
- CORE_PEER_LOCALMSPID=DEFAULT
- CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp
working_dir: /opt/gopath/src/chaincode
command: /bin/bash -c 'sleep 6000000'
command: /bin/sh -c 'sleep 6000000'
volumes:
- /var/run/:/host/var/run/
- ./msp:/etc/hyperledger/msp