helium / network-explorer

https://explorer.helium.com
Apache License 2.0
49 stars 24 forks source link

Helium Network Explorer

Development

Installation

Requirements: Node.js 18 or later

Install pnpm if you haven't already, for example using brew:

brew install pnpm

Download the dependencies:

pnpm install

Add environment variables:

cp .env.example .env.local

Add your Dune API key

Setup a PostgreSQL database and add your DATABASE_URL. It will default to using an in memory database if you don't set one up.

Run locally

Setup the database:

pnpm db:migrate

Then, run the development server:

pnpm dev

Open http://localhost:3000 in your browser.