diff --git a/README.md b/README.md index 9a2a9509e..a480cd487 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ ports: ``` ### Binary tools -- ./bin/prune.sh -db to clear all and database -- ./bin/build.sh to build all +- ./bin/build.sh to build +- ./bin/build.sh --clean to fresh build ## Testing If you want to test the code, you can do so by running diff --git a/bin/build.sh b/bin/build.sh index d45b99a98..830ed71a0 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -3,7 +3,7 @@ # Check if a folder path is provided as parameter if [ "$1" == "--clean" ]; then # Remove database - sh ./bin/prune.sh -db + ./bin/prune.sh -db fi # Bring up Hasura service diff --git a/bin/prune.sh b/bin/prune.sh index 450d1998f..c2a4728e3 100755 --- a/bin/prune.sh +++ b/bin/prune.sh @@ -10,4 +10,5 @@ sudo docker system prune -a -f if [ "$1" == "-db" ]; then # Remove database sudo rm -rf postgres-data/ + echo "Database volume removed..." fi \ No newline at end of file diff --git a/configs/config.yaml b/configs/config.yaml index 1739553fa..851c5c3e6 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -3,7 +3,20 @@ chain: modules: - modules - messages + - auth + - bank + - consensus + - feegrant + - gov + - mint + - pricefeed + - slashing + - staking + - distribution + - upgrade + - wasm - actions + - daily refetch node: type: remote