From e23bfc2351553a4456ff383bd1408d03087244fd Mon Sep 17 00:00:00 2001 From: leonflkatgalani Date: Wed, 12 Jun 2019 16:38:42 +0200 Subject: [PATCH 1/3] edit missing Amazon ECR Login details --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b8735858a8..4abaf62ee4 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,12 @@ You also need to have your docker daemon system running (on mac, just download a $(aws ecr get-login --no-include-email --region eu-central-1) ``` +Copy displayed command string and execute to login +``` +docker login -u AWS -p +``` + + 2. Pull the latest image from Amazon ECR ``` From b0a3fdc61b4b460ae75908a1e349744dd7b6ee38 Mon Sep 17 00:00:00 2001 From: leonflkatgalani Date: Wed, 12 Jun 2019 17:49:35 +0200 Subject: [PATCH 2/3] Run Dev Chain without building yourself --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4abaf62ee4..e451d9b510 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,9 @@ The node should be connected to the KILT testnet. # build docker image (only do if code has changed, takes ~15 min) docker build -t prototype-chain . -# run chain in dev mode locally +# run chain in dev mode locally after building docker image docker run -p 9944:9944 prototype-chain ./target/debug/node --dev --ws-port 9944 --ws-external --rpc-external + +# run chain in dev mode locall with AWS Image +docker run -p 9944:9944 348099934012.dkr.ecr.eu-central-1.amazonaws.com/kilt/prototype-chain ./target/debug/node --dev --ws-port 9944 --ws-external --rpc-external ``` From f6b7b59fa47bce6b6c68c2c29b13a474e4f0c637 Mon Sep 17 00:00:00 2001 From: leonflkatgalani Date: Wed, 12 Jun 2019 17:57:26 +0200 Subject: [PATCH 3/3] quickedit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e451d9b510..82a80d1e6e 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ The node should be connected to the KILT testnet. # build docker image (only do if code has changed, takes ~15 min) docker build -t prototype-chain . -# run chain in dev mode locally after building docker image +# run chain in dev mode locally after building docker image yourself docker run -p 9944:9944 prototype-chain ./target/debug/node --dev --ws-port 9944 --ws-external --rpc-external -# run chain in dev mode locall with AWS Image +# run chain in dev mode locally with AWS Image docker run -p 9944:9944 348099934012.dkr.ecr.eu-central-1.amazonaws.com/kilt/prototype-chain ./target/debug/node --dev --ws-port 9944 --ws-external --rpc-external ```