helium / blockchain-etl

Blockchain follower that follows and stores the Helium blockchain
Apache License 2.0
64 stars 37 forks source link

How to point the node to testnet? #230

Closed varshard closed 3 years ago

varshard commented 3 years ago

I want to run blockchain-etl to testnet, how may I do that?

Do I need to create .env.testnet and set PROFILE=testnet?

varshard commented 3 years ago

From source

  1. Build with testnet as a profile
    $ make release -e PROFILE=testnet
  2. Copy .env.template to .env.testnet and edit DATBASE_URL. This is important, as make start will try to find .env.testnet file.
  3. Run etl with testnet as a profile
    $ make start -e PROFILE=testnet