Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.24 KB

development.md

File metadata and controls

40 lines (29 loc) · 1.24 KB

Development Guide

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.

Install Prerequisites

To build Open Match you'll need the following applications installed.

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.

Building code and images

# 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.