devnet-explorer

module
v0.0.0-...-a196282 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0, MIT

README

devnet-explorer

Gevulot Devnet Explorer

Running

Build devnet-explorer by running:

mage go:build

See available configuration parameters:

./target/bin/devnet-explorer -h

Set configuration parameters to match your environment and run devnet-explorer:

LOG_LEVEL="debug" STATS_TTL="1s" ./target/bin/devnet-explorer
With Postgres

To use devnet-explorer against real database pass postgres DNS via DNS env variable. Run mage go:run and open UI at http://127.0.0.1:8383.

With mock data

Devnet explorer can be executed without DB using mock data. Run mage go:runWithMockDB and open UI at http://127.0.0.1:8383.

Development

Requirements
  • Go >= 1.22
  • Mage
  • Docker/Podman
Get started

Clone repository and execute mage to get started.

Directories

Path Synopsis
api
templates
templ: version: v0.2.598
templ: version: v0.2.598
Package app provides self-contained application business logic and signal handling.
Package app provides self-contained application business logic and signal handling.
cmd
store
mock
Package mock abstracts the storage layer and provides a simple mock storage.
Package mock abstracts the storage layer and provides a simple mock storage.
pg
Package pg abstracts the storage layer and provides a simple interface to work with.
Package pg abstracts the storage layer and provides a simple interface to work with.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL