-
Docker 20.10.17+
-
Install asdf
-
Run the following to install all dependencies in .tool-versions
asdf install
- Run the following to generate a config file
make setup
- Edit
authgear-nft-indexer.yaml
for applicable configurations
- Start the db container
docker compose up -d
-
Apply database schema migrations:
make sure the db container is running
go run ./cmd/server database migrate up
To create new migration:
# go run ./cmd/authgear database migrate new <migration name>
go run ./cmd/indexer database migrate new add user table
docker compose up -d
Then run the following command to start up the server
# in project root
make start