From 829b6d1523a25aaae5488ed409bfafbcb62994fd Mon Sep 17 00:00:00 2001 From: Andreas Pasch Date: Wed, 13 Mar 2019 17:07:44 +0100 Subject: [PATCH 1/2] feat: update documentation for build / run chain locally in docker --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11c3052883..1835c1fe08 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,9 @@ The node should be connected to the KILT testnet. b. For local development with an isolated local chain, execute: ``` -docker run -p 9944:9944 348099934012.dkr.ecr.eu-central-1.amazonaws.com/kilt/prototype-chain ./start-node.sh --account-name Alice +# build docker image (only do if code has changed, takes ~15 min) +docker build -t prototype-chain . + +# run chain in dev mode locally +docker run -p 9944:9944 prototype-chain ./target/debug/node --dev ``` From 0199a5fec41da04129fe6eff9d59880698a5f6e5 Mon Sep 17 00:00:00 2001 From: Andreas Pasch Date: Wed, 13 Mar 2019 17:41:17 +0100 Subject: [PATCH 2/2] fix: add ws and rpc parameters to make dev chain acessible via client --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1835c1fe08..b877855896 100644 --- a/README.md +++ b/README.md @@ -56,5 +56,5 @@ The node should be connected to the KILT testnet. docker build -t prototype-chain . # run chain in dev mode locally -docker run -p 9944:9944 prototype-chain ./target/debug/node --dev +docker run -p 9944:9944 prototype-chain ./target/debug/node --dev --ws-port 9944 --ws-external --rpc-external ```