Commit 93fe3e0c authored by Waleed El Sayed's avatar Waleed El Sayed

improvements

parent 7855053e
......@@ -3,5 +3,6 @@ channel.tx
genesis.block
Org1MSPanchors.tx
Org2MSPanchors.tx
fabric-samples
bin
.DS_Store
......@@ -9,10 +9,16 @@ docker network rm $(docker network ls -q)
docker volume rm $(docker volume ls -q)
# remove generated files / configs
rm -rf bin crypto-config channel.tx genesis.block Org1MSPanchors.tx Org2MSPanchors.tx
rm -rf crypto-config channel.tx genesis.block Org1MSPanchors.tx Org2MSPanchors.tx
# get binaries and images for version 1.3.0
curl -sSL http://bit.ly/2ysbOFE | bash -s 1.3.0
# rmove binaries if exists
# get binaries and images for version 1.3.0 if not exists
if [ ! -d "bin" ]; then
curl -sSL http://bit.ly/2ysbOFE | bash -s 1.3.0
cp -r fabric-samples/bin .
rm -rf fabric-samples
fi
# binaries to $PATH
export PATH=$PWD/bin:$PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment