fabric-samples/first-network
Arnaud J Le Hors 1883ae9589 [FAB-7527] Improves BYFN
This change fixes a set of related issues.

It fixes the use of the cli timeout setting. It is now merely about
the maximum time spent waiting for a response.

The e2e script is no longer run from docker-compose but by calling
docker exec from byfn.sh and docker-compose now merely has the cli
waiting/sleeping for 1000 seconds.

This not only allows starting the network without automatically
running the e2e script, it also allows byfn.sh to properly end when
the e2e script ends rather than hang. It also makes the tutorial
simpler.

The time the cli container waits/sleeps cannot be changed other than
by editing the config file but this shouldn't be a problem.

This change also fixes the log output of the e2e script so that peers
are consistantly being referenced as in peerX.orgY.

In addition, this changes the usage of byfn.sh so that the -m
parameter is no longer needed. One merely needs to type "./byfn.sh up"
rather than "./byfn.sh -m up". The old way is still supported though,
for human backward compatibility. ;-) And by default the answer to the
prompt for continuation is "y" so the user can simply continue with a
hit of the return key.

Change-Id: I3e2409d81018f97ec9306ce6e1ae916d8fe18fec
Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
2017-12-21 00:22:13 +01:00
..
base [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
channel-artifacts FAB-4073 build your first network sample 2017-06-21 05:42:36 +00:00
org3-artifacts [FAB-6632] - Artifacts for BYFN reconfigure 2017-11-08 15:43:10 -05:00
scripts [FAB-7527] Improves BYFN 2017-12-21 00:22:13 +01:00
.env FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
byfn.sh [FAB-7527] Improves BYFN 2017-12-21 00:22:13 +01:00
configtx.yaml FAB-4073 build your first network sample 2017-06-21 05:42:36 +00:00
crypto-config.yaml FAB-4073 build your first network sample 2017-06-21 05:42:36 +00:00
docker-compose-cli.yaml [FAB-7527] Improves BYFN 2017-12-21 00:22:13 +01:00
docker-compose-couch.yaml [FAB-5453] Enable CouchDB passwords in Fabric Samples 2017-07-25 10:57:08 -04:00
docker-compose-e2e-template.yaml [FAB-5031] Fix e2e template typo 2017-06-27 09:40:29 -04:00
docker-compose-org3.yaml [FAB-7527] Improves BYFN 2017-12-21 00:22:13 +01:00
README.md FAB-4073 build your first network sample 2017-06-21 05:42:36 +00:00

Build Your First Network (BYFN)

The directions for using this are documented in the Hyperledger Fabric "Build Your First Network" tutorial.