mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
Deploying chaincode failed due to missing .env file. Previous commit moves .env file to docker directory from test-network directory. Therefore, .env file doesn't exist current working directory. This PR adds --env-file option to docker-compose command to read .env file. Signed-off-by: Nao Nishijima <nao.nishijima.xt@hitachi.com> |
||
|---|---|---|
| .. | ||
| addOrg3 | ||
| configtx | ||
| docker | ||
| organizations | ||
| scripts | ||
| system-genesis-block | ||
| .gitignore | ||
| network.sh | ||
| README.md | ||
Running the test network
You can use the ./network.sh script to stand up a simple Fabric test network. The test network has two peer organizations with one peer each and a single node raft ordering service. You can also use the ./network.sh script to create channels and deploy chaincode. For more information, see Using the Fabric test network. The test network is being introduced in Fabric v2.0 as the long term replacement for the first-network sample.
Before you can deploy the test network, you need to follow the instructions to Install the Samples, Binaries and Docker Images in the Hyperledger Fabric documentation.