From 4a8288b82ce38ae5c63b579c82030992500f547d Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Fri, 13 Jul 2018 14:28:11 -0700 Subject: [PATCH] Add docker-compose and instructions to run --- README.md | 8 ++++++++ docker-compose.yaml | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 docker-compose.yaml diff --git a/README.md b/README.md index e9ab4627..3c44e9d2 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,14 @@ $ make tools deps build $ make tools deps install ``` +### Using Ethermint to parse Mainnet Ethereum blocks + +There is an included `docker-compose.yaml` file and a `data/blockchain` file that provide an easy way to run the demo of parsing Mainnet ethereum blocks. The dump in `data/` only includes up to block `97638`. To run this have [`docker-compose.yaml` installed](https://docs.docker.com/compose/install/) and run the following: + +``` +$ docker-compose up +``` + ### Community The following chat channels and forums are a great spot to ask questions about Ethermint: diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 00000000..8fe939ee --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,7 @@ +version: '3' +services: + ethermint: + build: . + volumes: + - ./data/:/data/ + command: ["ethermint", "-blockchain", "/data/blockchain"]