This project makes use of Tilt and the lightweight k3s wrapper k3d.
This guide assumes that the machine is already setup with golang, node and yarn
- Install docker on your machine if you don't already have it
- Install k3d on your machine depending on your operating system
- Create the k3d cluser with registry and also mount the project in the cluster. The command below assumes we have the project in
workspace
directory.
You may need to switch k8s context after thisk3d cluster create dev-cluster --volume $HOME/workspace:$HOME/workspace --registry-create
- Install tilt
- Install bazel
- Install protoc-gen-go
- cd into the project directory and run
tilt up
- navigate to
localhost:10350
on your browser to view the tilt dashboard - you can reach the app at
localhost:3000