Please read this guide if you plan to contribute to the Compage. We welcome any kind of contribution. No matter if you are an experienced programmer or just starting, we are looking forward to your contribution.
If you find a bug while working with the Compage, please open an issue on GitHub and let us know what went wrong. We will try to fix it as quickly as we can.
You are more than welcome to open issues in this project to suggest new features.
This project is written in Golang
To contribute code.
- Ensure you are running golang version 1.11.4 or greater for go module support
- Set the following environment variables:
GO111MODULE=on GOFLAGS=-mod=vendor
- Fork the project.
- Clone the project:
git clone https://github.com/[YOUR_USERNAME]/compage && cd compage
- kindly refer compage.md file to know the structure of the project.
- Commit changes (Please refer the commit message conventions)
- Push commits.
- Open pull request.
- Install below packages to regenerate the gRPC code.
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
- Update below statement in ~/.zshrc or ~/.bashrc depending on the shell you are using.
export PATH="$PATH:$(go env GOPATH)/bin"
- Download buf binary from this link—https://github.com/bufbuild/buf/releases and fire the command from root directory of compage.
buf generate