Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 526 Bytes

DEVELOPMENT.md

File metadata and controls

27 lines (18 loc) · 526 Bytes

Local Development

Initial spin up

# Stand up infra
docker compose up postgres

# Create Faction DB & run migrations
go run cmd/faction/*.go migrate setup
go run cmd/faction/*.go migrate up

# Create Igor DB & run migrations (https://github.com/voidshard/igor)
docker run --rm --network=host uristmcdwarf/igor:0.0.5 migrate setup
docker run --rm --network=host uristmcdwarf/igor:0.0.5 migrate up

# Now we can spin up everything
docker compose up

Reseting infra (drops everything)

docker compose rm