mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
ORG4 README
This commit is contained in:
parent
f2d2e86a08
commit
6f3cf986cc
1 changed files with 12 additions and 12 deletions
|
|
@ -1,28 +1,28 @@
|
||||||
## Adding Org3 to the test network
|
## Adding Org4 to the test network
|
||||||
|
|
||||||
You can use the `addOrg3.sh` script to add another organization to the Fabric test network. The `addOrg3.sh` script generates the Org3 crypto material, creates an Org3 organization definition, and adds Org3 to a channel on the test network.
|
You can use the `addOrg4.sh` script to add another organization to the Fabric test network. The `addOrg4.sh` script generates the Org4 crypto material, creates an Org4 organization definition, and adds Org4 to a channel on the test network.
|
||||||
|
|
||||||
You first need to run `./network.sh up createChannel` in the `test-network` directory before you can run the `addOrg3.sh` script.
|
You first need to run `./network.sh up createChannel` in the `test-network` directory before you can run the `addOrg4.sh` script.
|
||||||
|
|
||||||
```
|
```
|
||||||
./network.sh up createChannel
|
./network.sh up createChannel
|
||||||
cd addOrg3
|
cd addOrg4
|
||||||
./addOrg3.sh up
|
./addOrg4.sh up
|
||||||
```
|
```
|
||||||
|
|
||||||
If you used `network.sh` to create a channel other than the default `mychannel`, you need pass that name to the `addorg3.sh` script.
|
If you used `network.sh` to create a channel other than the default `mychannel`, you need pass that name to the `addorg4.sh` script.
|
||||||
```
|
```
|
||||||
./network.sh up createChannel -c channel1
|
./network.sh up createChannel -c channel1
|
||||||
cd addOrg3
|
cd addOrg4
|
||||||
./addOrg3.sh up -c channel1
|
./addOrg4.sh up -c channel1
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also re-run the `addOrg3.sh` script to add Org3 to additional channels.
|
You can also re-run the `addOrg4.sh` script to add Org4 to additional channels.
|
||||||
```
|
```
|
||||||
cd ..
|
cd ..
|
||||||
./network.sh createChannel -c channel2
|
./network.sh createChannel -c channel2
|
||||||
cd addOrg3
|
cd addOrg4
|
||||||
./addOrg3.sh up -c channel2
|
./addOrg4.sh up -c channel2
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information, use `./addOrg3.sh -h` to see the `addOrg3.sh` help text.
|
For more information, use `./addOrg4.sh -h` to see the `addOrg4.sh` help text.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue