Last updated
Last updated
Follow these steps to get started and run the Hemera Indexer:
To operate the Hemera Indexer, you essentially have two approaches to choose from, each suited to different levels of customization and control.
1. Use Docker
2.Build from Source code
Now, run the following command to spin up the containers.
You should be able to see similar logs from your console that indicate Hemera Indexer is running properly.
Skip this step if you already have both installed.
Skip this step if you don't want to have a dedicated python venv for Hemera Indexer.
Hemera Indexer requires a PostgreSQL database to store all indexed data. You may skip this step if you already have a PostgreSQL set up.
E.g. postgresql+psycopg2://${YOUR_USER}:${YOUR_PASSWORD}@${YOUR_HOST}:5432/${YOUR_DATABASE}
.
Once you have successfully bootstrapped Hemera Indexer, you should be able to view similar logs as below.
If you have trouble running the following commands, consider referring to the for the latest instructions.
Alternatively, you might want to edit environment variables in docker-compose.yaml
. Please check out the on how to configure the environment variables.
Follow the instructions about how to set up a PostgreSQL database here: .
Configure the OUTPUT
or --output
parameter according to your PostgreSQL role information. Check out for details.
Please check out on how to configure the indexer.