@@ -53,7 +53,7 @@ Here's the help text for the ``byfn.sh`` script:
53
53
Usage:
54
54
byfn.sh up| down| restart| generate [-c < channel name> ] [-t < timeout> ] [-d < delay> ] [-f < docker-compose-file> ] [-s < dbtype> ]
55
55
byfn.sh -h| --help (print this message)
56
- < mode> - one of ' up' , ' down' , ' restart' or ' generate'
56
+ -m < mode> - one of ' up' , ' down' , ' restart' or ' generate'
57
57
- ' up' - bring up the network with docker-compose up
58
58
- ' down' - clear the network with docker-compose down
59
59
- ' restart' - restart the network
@@ -69,8 +69,8 @@ Here's the help text for the ``byfn.sh`` script:
69
69
Typically, one would first generate the required certificates and
70
70
genesis block, then bring up the network. e.g.:
71
71
72
- byfn.sh generate -c mychannel
73
- byfn.sh up -c mychannel -s couchdb
72
+ byfn.sh -m generate -c mychannel
73
+ byfn.sh -m up -c mychannel -s couchdb
74
74
75
75
If you choose not to supply a channel name, then the
76
76
script will use a default name of ``mychannel``. The CLI timeout parameter
@@ -85,7 +85,7 @@ Ready to give it a go? Okay then! Execute the following command:
85
85
86
86
.. code:: bash
87
87
88
- ./byfn.sh generate
88
+ ./byfn.sh -m generate
89
89
90
90
You will see a brief description as to what will occur, along with a yes/no command line
91
91
prompt. Respond with a ``y`` or hit the return key to execute the described action.
@@ -147,7 +147,7 @@ Next, you can bring the network up with one of the following commands:
147
147
148
148
.. code:: bash
149
149
150
- ./byfn.sh up
150
+ ./byfn.sh -m up
151
151
152
152
The above command will compile Golang chaincode images and spin up the corresponding
153
153
containers. Go is the default chaincode language, however there is also support
@@ -159,7 +159,7 @@ chaincode, pass the following command instead:
159
159
# we use the -l flag to specify the chaincode language
160
160
# forgoing the -l flag will default to Golang
161
161
162
- ./byfn.sh up -l node
162
+ ./byfn.sh -m up -l node
163
163
164
164
.. note :: View the `Hyperledger Fabric Shim <https://fabric-shim.github.io/ChaincodeStub.html>`__
165
165
documentation for more info on the node.js chaincode shim APIs.
@@ -226,7 +226,7 @@ and four artifacts, and delete the chaincode images from your Docker Registry:
226
226
227
227
.. code :: bash
228
228
229
- ./byfn.sh down
229
+ ./byfn.sh -m down
230
230
231
231
Once again, you will be prompted to continue, respond with a ``y `` or hit the return key:
232
232
0 commit comments