No description
| pre_commits | init | |
| src | init | |
| .gitignore | init | |
| .golangci.yml | init | |
| .pre-commit-config.yaml | init | |
| Dockerfile | init | |
| go.mod | init | |
| LICENSE | init | |
| podman-compose.dev.yaml | init | |
| README.md | init | |
Bot League Platform
Development
Container
Develop inside the dev container. Build and open a shell:
podman compose -f podman-compose.dev.yaml up --build -d && \
podman compose -f podman-compose.dev.yaml exec app /bin/sh
If Podman does not rebuild reliably, stop the stack first:
podman compose -f podman-compose.dev.yaml down
Start without rebuilding and open a shell:
podman compose -f podman-compose.dev.yaml up -d && \
podman compose -f podman-compose.dev.yaml exec app /bin/sh
Install dependencies
go mod tidy
Pre-commit
Install pre-commit, then enable it for this repo:
pre-commit clean && pre-commit install