mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
basic-network: - moved "crypto-config" to top-level and removed "network" folder - added generate.sh to re-gen crypto materials - docker-compose.yaml to ref v1.0.0 images - add CLI to docker-compose - start.sh to only start CA, orderer, peer and couch - startFabric.sh to run start.sh, then launch CLI for create channel, install, instantiate, invoke fabcar: - moved chaincode to central chaincode folder - moved "creds" to top-level and removed "network" folder - changed to use the basic-network as the target and removed docker-compose.yaml and crypto-config - updated package.json to require v1.0.0 modules - added missing license headers - restructured to use a central chaincode subdirectory Change-Id: Ic784d1cf55ea51da5155624f3c38275883de1dca Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com> Signed-off-by: Nick Gaski <ngaski@us.ibm.com> Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
19 lines
441 B
Bash
Executable file
19 lines
441 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Copyright IBM Corp All Rights Reserved
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Exit on first error, print all commands.
|
|
set -e
|
|
|
|
# Shut down the Docker containers for the system tests.
|
|
docker-compose -f docker-compose.yml kill && docker-compose -f docker-compose.yml down
|
|
|
|
# remove the local state
|
|
rm -f ~/.hfc-key-store/*
|
|
|
|
# remove chaincode docker images
|
|
docker rmi $(docker images dev-* -q)
|
|
|
|
# Your system is now clean
|