DATABASE_URL ?= postgres://postgres:postgres@localhost:5432/hermes_market?sslmode=disable .PHONY: run build test lint tidy docker-up docker-down migrate-up migrate-down backfill run: go run ./cmd/app build: go build -o bin/app ./cmd/app go build -o bin/backfill ./cmd/backfill test: go test ./... lint: golangci-lint run tidy: go mod tidy docker-up: docker compose up -d docker-down: docker compose down migrate-up: migrate -path ./migrations -database "$(DATABASE_URL)" up migrate-down: migrate -path ./migrations -database "$(DATABASE_URL)" down 1 backfill: go run ./cmd/backfill $(ARGS)