Skip to main content

Running Locally

Start PostgreSQL

The easiest way to set up PostgreSQL is by running the docker image, which starts a container exposed to port 5432 with default values configured:

docker-compose up db

You can also run the database separately but will require you to edit the validator default configuration for the database name, user, and password.

Build

go build cmd/*

Run

Before running the following command, you need to have the necessary configuration populated.

go run cmd/*