You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
537 B

.PHONY: client
client:
@yarn --cwd ./client vite
api:
@echo 'Starting API Server...'
@go run ./main.go
test: test.api
test.api:
go test -v ./...
dynamo.start:
@cd ./dev/db && docker compose up -d
dynamo.stop:
@cd ./dev/db && docker compose down
dynamo.list:
@aws dynamodb list-tables --endpoint-url http://localhost:8000
dynamo.scan:
@aws dynamodb scan --table-name owltier-local --endpoint-url http://localhost:8000
dynamo.reset:
@cd ./dev/scripts && ./delete-table.sh
@sleep 1
@cd ./dev/scripts && ./create-table.sh