From df4de3b28b589da9eb17fc379f8b34dededb941a Mon Sep 17 00:00:00 2001 From: bgravenorst <50852695+bgravenorst@users.noreply.github.com> Date: Fri, 29 Oct 2021 10:29:27 +1000 Subject: [PATCH] Remove Alethio content that no longer works. (#838) * Rename whitelist to allowlist. Signed-off-by: Byron Gravenorst * Additional updates. Signed-off-by: Byron Gravenorst * Whitelist renaming. Signed-off-by: Byron Gravenorst * Address reviewer feedback. Signed-off-by: Byron Gravenorst * Fix typos. Signed-off-by: Byron Gravenorst * Remove Alethio nodejs content. Signed-off-by: bgravenorst Co-authored-by: Byron Gravenorst --- docs/HowTo/Deploy/Lite-Block-Explorer.md | 66 +----------------------- 1 file changed, 1 insertion(+), 65 deletions(-) diff --git a/docs/HowTo/Deploy/Lite-Block-Explorer.md b/docs/HowTo/Deploy/Lite-Block-Explorer.md index 1734c23573f..528a66261a7 100644 --- a/docs/HowTo/Deploy/Lite-Block-Explorer.md +++ b/docs/HowTo/Deploy/Lite-Block-Explorer.md @@ -13,12 +13,7 @@ parties to display the blockchain data. ## Prerequisites -[Docker](https://docs.docker.com/install/) or [Node.js](https://nodejs.org/). - -!!! tip - - Using Docker is the easiest way to get started using the Ethereum Lite Explorer with - Hyperledger Besu if you do not have Node.js installed. +* [Docker](https://docs.docker.com/install/). ## Run using Docker @@ -51,62 +46,3 @@ To run the Ethereum Lite Explorer using the Docker image: We are using port 8080 to run the Ethereum Lite Explorer so the [EthStats Lite](Lite-Network-Monitor.md) can use port 80, allowing you to run both at the same time. - -## Install and run with Node.js - -1. Clone the `ethereum-lite-explorer` repository: - - ```bash - git clone https://github.com/Alethio/ethereum-lite-explorer.git - ``` - -1. Change into the `ethereum-lite-explorer` directory: - - ```bash - cd ethereum-lite-explorer - ``` - -1. Install `npm` packages: - - ```bash - npm install - ``` - -1. Copy the sample configuration: - - ```bash - cp config.default.json config.dev.json - ``` - -1. Update the `config.dev.json` file: - - * Set `APP_NODE_URL` to the JSON-RPC HTTP URL of your node (`http://localhost:8545` in this - example). - * Remove other environment variables. - -1. In another terminal, start Besu with the - [`--rpc-http-enabled`](../../Reference/CLI/CLI-Syntax.md#rpc-http-enabled) option. - - !!! example - - To run Besu in development mode: - - ```bash - besu --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-allowlist="*" --rpc-http-enabled --data-path=/tmp/tmpDatdir - ``` - -1. In the `ethereum-lite-explorer` directory, run the Lite Explorer in development mode: - - ```bash - npm run build - npm run start - ``` - -A browser window displays the Ethereum Lite Explorer [`http://localhost:3000/`](http://localhost:3000/). - -## Use with JSON-RPC authentication - -You can install the [Alethio Explorer Plugin](https://github.com/adetante/explorer-besu-plugin) to use the Alethio -Ethereum Lite Explorer with Hyperledger Besu nodes with -[JSON-RPC authentication](../Interact/APIs/Authentication.md) enabled. See the -[plugin documentation](https://github.com/adetante/explorer-besu-plugin) for how to use the plugin with Node.js and Docker.