layout | title | permalink | parent | nav_order |
---|---|---|---|---|
page |
Setting up your development environment for GUAC |
/dev-setup/ |
Getting started with GUAC |
6 |
- Docker
- Docker Compose
- Git
- Go (v1.21+)
- GoReleaser
- Make
- jq
- protoc
-
Clone GUAC to a local directory:
git clone https://github.com/guacsec/guac.git
-
Optional: If you want test data to use, clone GUAC’s test data:
git clone https://github.com/guacsec/guac-data.git
-
Go to your GUAC directory (the rest of the steps need to be done from this directory):
cd guac
All steps assume you are in the root of the guac directory.
-
Build the binaries using make:
make
-
Alternatively, you may also build/run the binaries directly with go:
go run ./cmd/guacgql --gql-debug
All steps assume you are in the root of the guac directory.
-
Build the binaries using make:
make container
-
When making changes to the graphQL schema and client operations, you will need to run the graphQL generation code:
make generate
-
When making changes to any protocol buffers (e.g. for the [collectsub service]), you will need to run code generation:
make proto
Whenever you are ready to contribute, feel free to open a pull request to the repository! Whenever you are updating your branch, please be sure to rebase instead of creating a merge commit.
Check out more information about becoming a contributor in the contributor guide.