Setup
How to setup an Indexer node
Supported Platforms
Baremetal
Cloud Platforms (Recommended over Baremetal)
Kubernetes (Any distribution)
We recommend running the Indexer node in a cloud platform or Kubernetes to allow for flexibility. The Indexer node may require change in hardware resources and a physical machines does not allow a quick change in resources.
Setup
1. Once a Linux machine has been provisioned on a cloud or virtualization or baremetal platform, create a dedicated user to run the Indexer node. Please do not use the root user for security purposes.
2. Add the required storage space to the home directory of the user or to the location that will be used to host the storetheindex repo.
3. Clone the "storetheindex" repo
git clone https://github.com/filecoin-project/storetheindex.git4. Checkout the latest stable release
git checkout <latest stable tag>Example:
git checkout v0.4.175. Compile the binaries
make build6. Export the STORETHEINDEX_PATH variable to set the repo location. You can skip this step to use the default location ~/.storetheindex
7. Initalize the repo with appropriate options.
5. Verify that PeerID and Privkey are part of the config
Start the Indexer node
1. Once the repo has been initalized, we can start the daemon
Last updated