-
Notifications
You must be signed in to change notification settings - Fork 37
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 <[email protected]>
- Loading branch information
Showing
3 changed files
with
92 additions
and
10 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,57 @@ | ||
# 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 | ||
|
||
# Install the operations console | ||
console: | ||
#!/bin/bash | ||
set -ex -o pipefail | ||
|
||
./network console | ||
|
||
# Installs just the operator | ||
operator: | ||
#!/bin/bash | ||
|
||
./network operator | ||
|
||
# Removes the local cluster | ||
unkind: | ||
./network unkind |
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