Bundled with Lite Explorer
We've included a docker-compose that packages a full working environment with Memento and the Ethereum Lite Explorer by Alethio.
Video guide
For a video version of the step-by-step guide below click on the following image. Note that all the commands executed in the video are part of the Step-by-step guide below.
Step-by-step guide
Prerequisites
wget
Set up the environment
Start by creating a folder on your machine to host all the memento-related files. This can be placed anywhere.
Just keep in mind that it requires some disk space as it will also host the volume for the database.
mkdir memento
cd memento
The next step is to download the config and docker-compose file from github. You can do that manually or using the following commands:
wget -q --show-progress https://raw.githubusercontent.com/Alethio/memento/master/docker-compose-explorer.yml
wget -q --show-progress https://raw.githubusercontent.com/Alethio/memento/master/config-sample.yml
wget -q --show-progress https://raw.githubusercontent.com/Alethio/memento/master/lite-explorer.config.json
At the end of this step, your directory should look like follows:
~/memento ❯ tree
.
├── config-sample.yml
├── docker-compose-explorer.yml
└── lite-explorer.config.json
0 directories, 3 files
Next step is to create a folder that our docker-compose will mount as a volume for the memento container. We'll use this to host Memento's configuration file.
mkdir -p .volumes/memento
mkdir -p .volumes/lite-explorer
Copy the config and edit it as needed.
By default, the values for postgres and redis are correct for using with docker compose.
mv config-sample.yml .volumes/memento/config.yml
mv lite-explorer.config.json .volumes/lite-explorer/config.json
# you can use any other text editor here
vim .volumes/memento/config.yml
Start everything
docker-compose -f docker-compose-explorer.yml up -d
Open the dashboard to check indexing progress
http://localhost:3000
Open the Lite Explorer and start exploring
http://localhost:80
Last updated
Was this helpful?