Icon LinkBuilding from Source

Icon LinkClone repository

git clone git@github.com:FuelLabs/fuel-indexer.git

Icon LinkRun migrations

cd packages/fuel-indexer-database/postgres
DATABASE_URL=postgres://postgres@localhost sqlx migrate run

Icon LinkStart the service

cargo run --bin fuel-indexer

Icon LinkRun tests

cargo test --locked --workspace --all-features --all-targets

Was this page helpful?