Merge pull request #54 from meshplus/fix/fix-quick-start-file-name
fix(srcipt): rename fabric rule file
This commit is contained in:
commit
ac73a48a29
|
@ -101,9 +101,9 @@ function prepare() {
|
||||||
x_replace 's/example/example1/g' "${CURRENT_PATH}"/configB.yaml
|
x_replace 's/example/example1/g' "${CURRENT_PATH}"/configB.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f fabric-rule.wasm ]; then
|
if [ ! -f fabric_rule.wasm ]; then
|
||||||
print_blue "===> Downloading fabric-rule.wasm"
|
print_blue "===> Downloading fabric_rule.wasm"
|
||||||
wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric-rule.wasm
|
wget https://raw.githubusercontent.com/meshplus/bitxhub/master/scripts/quick_start/fabric_rule.wasm
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ function start() {
|
||||||
--validators "${PIER_ROOT}"/fabric/fabric.validators
|
--validators "${PIER_ROOT}"/fabric/fabric.validators
|
||||||
|
|
||||||
print_blue "===> Deploy rule in bitxhub"
|
print_blue "===> Deploy rule in bitxhub"
|
||||||
pier --repo "${PIER_ROOT}" rule deploy --path "${CURRENT_PATH}"/fabric-rule.wasm
|
pier --repo "${PIER_ROOT}" rule deploy --path "${CURRENT_PATH}"/fabric_rule.wasm
|
||||||
|
|
||||||
print_blue "===> Start pier"
|
print_blue "===> Start pier"
|
||||||
cd "${CURRENT_PATH}"
|
cd "${CURRENT_PATH}"
|
||||||
|
|
Loading…
Reference in New Issue