This dev guide was written for the original Open Match on Kube, and has been doctored to remove redundant information irrelevant to pulling up Open Match locally for testing.
To build Open Match you'll need the following applications installed.
- Git
- Go
- Make (Mac: install XCode)
- Docker including the post-install steps.
On Debian-based Linux you can install all the required packages (except Go) by running:
sudo apt-get update
sudo apt-get install -y -q make google-cloud-sdk git unzip tar
It's recommended that you install Go using their instructions because package managers tend to lag behind the latest Go releases.
Note that at the moment the GCP SDK is a requirement, but this should be removable in time.
# Reset workspace
make clean
# Run tests
make test
# Build all the images.
make build-images -j$(nproc)
-j$(nproc) is a flag to tell make to parallelize the commands based on the number of CPUs on your machine.