-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suggested updates to the sample network readme
Therese are some suggested updates to make the overall 'flow' of the readme.md better. So it easier for Fred/Fiona to follow along. Also added a way of 'cheating' if you been through the tutorial before, then just a quick recap of the commands is useful Signed-off-by: mbw <matthew@mh-white.com>
- Loading branch information
Showing
2 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Apache-2.0 | ||
|
||
# Main justfile to run all the scripts | ||
# | ||
# To install 'just' see https://github.com/casey/just#installation | ||
|
||
|
||
# Ensure all properties are exported as shell env-vars | ||
set export | ||
|
||
# set the current directory, and the location of the test dats | ||
CWDIR := justfile_directory() | ||
|
||
_default: | ||
@just --list | ||
|
||
# Starts and configures a local KIND cluster | ||
cluster: | ||
#!/bin/bash | ||
set -ex -o pipefail | ||
|
||
# create and configure the cluster | ||
./network kind | ||
./network cluster init | ||
|
||
# Installs and configures a sample Fabric Network | ||
network: | ||
#!/bin/bash | ||
set -ex -o pipefail | ||
|
||
# create Fabric network | ||
./network up | ||
|
||
kubectl -n test-network get all | ||
|
||
# create Fabric channnel | ||
./network channel create | ||
|
||
# Cluster and Fabric Network | ||
everything: cluster network | ||
|
||
# Removes the local cluster | ||
unkind: | ||
./network unkind |