diff --git a/Makefile b/Makefile index 4c767c3..5f3c07b 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,9 @@ down-stack: ## Bring down the stack without deleting volumes -f docker-compose.frontend.yml \ down +enable-debug: + @docker-compose -f docker-compose.icon-chain.yml exec icon goloop system config rpcIncludeDebug true + install-goloop: ## Install goloop cd goloop && $(MAKE) goloop @@ -50,7 +53,7 @@ wait-for-stack: echo Waiting for stack to come up sleep 15 -all: clone-dependencies install-goloop up-stack wait-for-stack create-wallet fund-wallet ## All the things +all: clone-dependencies install-goloop up-stack wait-for-stack enable-debug create-wallet fund-wallet ## All the things help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-16s\033[0m %s\n", $$1, $$2}' diff --git a/README.md b/README.md index 23d878d..e7b6581 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Individual steps: make # Shows help screen make clone-dependencies make up-stack +make enable-debug make install-goloop make create-wallet make fund-wallet @@ -64,6 +65,11 @@ up -d To take it down subsitute `up -d` with `down` or to remove the volumes `down -v`. +Enable debug mode on ICON node +```shell +docker-compose -f docker-compose.icon-chain.yml exec icon goloop system config rpcIncludeDebug true +``` + Installing goloop ```shell git clone https://github.com/icon-project/goloop @@ -72,8 +78,7 @@ make goloop cd .. ``` -Creating wallet - +Creating wallet ```shell ./goloop/bin/goloop ks gen -o your_wallet_name.json -p yoursupersecret ```