Development
Make sure to
git clone the repository with --recurse-submodules flag or run git submodule update --init --recursive after you have already cloned the repository.This is required for the livemap tiles to be available during development/build.Required Tooling
- Golang (Minimum version can be found in the
go.modfile)- Check the Go installation guide for instructions on how to install Go on your system)
- Ensure your
PATHincludes$GOPATH/binfor proper functionality of internal and automatically installed cli tools.
pnpm- Check the pnpm installation guide for instructions on how to install
pnpmon your system.
- Check the pnpm installation guide for instructions on how to install
bufCli- Installation instructions for
bufcan be found here.
- Installation instructions for
protoc-gen-doc- Is automatically installed when you run
make gen-proto. - Install using:
go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest
- Is automatically installed when you run
go-licenses- Is automatically installed when you run
make gen-licenses. - Install using:
go install github.com/google/go-licenses@latest
- Is automatically installed when you run
Codium/VSCode Users
- Custom settings for Go, JS/TS and Vue formatting and linting are included in the repository in the
.vscodefolder. It is recommended to use these settings for a consistent development experience. - Additionally a
.editorconfigfile is included in the repository to ensure consistent coding styles across different editors and IDEs. Make sure to enable EditorConfig support in your editor. - A list of recommended extensions for VSCode/Codium can be found in the .vscode/extensions.json file.
GRPC API Documentation
The "GRPC Protobuf Documentation" page is copied at build time in the CI workflow from the main repository's gen/grpc-api.md file during documentation build in the CI build workflow.
It provides up-to-date details about the API structure and usage.
