- Required the RPC and Websocket URLs of the Network
- Required the Chain ID of the Network
- Required the ETHEREUM_JSONRPC_VARIANT name
- We need to create the elixir file with the name of the above variant in the production folder at path apps/explorer/config/prod
- In general, you can use these variant names (geth, ganache)
- Docker Install in your machine
- General Requirements Tools must installed
- Clone the main repo of blockscout
- Open the repo in VSCode IDE
- Replace the variable below variable in the
common-blockscout.env
file at the pathdocker-compose/envs/common-blockscout.env
ETHEREUM_JSONRPC_VARIANT
ETHEREUM_JSONRPC_HTTP_URL
ETHEREUM_JSONRPC_TRACE_URL
COIN_NAME
- Replace below environment variables in the
docker-compose/docker-compose.yml
file
environment:
ETHEREUM_JSONRPC_HTTP_URL: https://testnet.rebus.money/rpc
ETHEREUM_JSONRPC_TRACE_URL: https://testnet.rebus.money/rpc
ETHEREUM_JSONRPC_WS_URL: wss://testnet.rebus.money/ws
CHAIN_ID: '3333'
- Start the docker desktop
- In the repo run the following commands in sequence
cd ./docker-compose
docker-compose up --build