fabric-samples/first-network
Gari Singh f9c29542d7 [FAB-5038] Generate artifacts if they don't exist
If you run ./byfn -m up prior to running
./byfn -m generate, things will fail - which
would normally be OK except in the case where
you are running the Docker daemon as root -
which is the default on Linux systems.  The issue
is that the Docker daemon will automatically
generate host paths for volumes if they don't exist
and they will be owned by whoever is running the
Docker process resulting in the error reported
in FAB-5038.

To fix this, simply check for the existence of
the crypto-config folder and if it does not
exist run the equivalent commands as the
generate option

Change-Id: Ic5b48682a527951ac6eab5b5cf2d0fc6dbdaad56
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
2017-06-30 12:53:56 -04:00
..
base [FAB-5062] Correct Gossip bootstrap setup in byfn 2017-06-28 16:13:18 -04:00
chaincode FAB-4916 add marbles02 chaincode 2017-06-23 04:16:14 +00:00
channel-artifacts FAB-4073 build your first network sample 2017-06-21 05:42:36 +00:00
scripts [FAB-4927] Modify TLS config 2017-06-22 22:06:00 -04:00
.env FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
byfn.sh [FAB-5038] Generate artifacts if they don't exist 2017-06-30 12:53:56 -04: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-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
docker-compose-couch.yaml FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
docker-compose-e2e-template.yaml [FAB-5031] Fix e2e template typo 2017-06-27 09:40:29 -04: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.