astria-indexer

module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT

README

Astria Indexer

Build Status made_with golang Go Coverage

Standalone

To run indexer clone repository, open directory containing project and run build command. Example:

git clone git@github.com:celenium-io/astria-indexer.git
cd astria-indexer
make build

or by docker compose

git clone git@github.com:celenium-io/astria-indexer.git
cd astria-indexer
docker-compose up -d --build

You have to set environment variables for customizing instances and indexing logic. Example of environment file can be found here.

You can run full stack with GUI:

export TAG=v1.0.0 # set here needed backend version
export FRONT_TAG=v1.0.0  # set here needed frontend version
docker-compose -f full.docker-compose.yml up -d 

After that you can find GUI on http://localhost:3000.

Directories

Path Synopsis
cmd
api
api/docs
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
storage/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
pkg
node/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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