Skip to content

hnpatil/gorilla

Repository files navigation

Gorilla

Go backend running gin gonic api server.

Getting started

install docker desktop if not installed yet

brew install --cask docker

Spining up the local cluster

Open docker for desktop and enable the kubernetes engine. To do so:

  1. Go to Settings -> Kubernetes -> enable Kubernetes ✅
  2. Restart docker desktop

Setting the kubectl context right

If you have already installed kubectl and it is pointing to some other environment, such as minikube or a EKS cluster, ensure you change the context so that kubectl is pointing to docker-desktop:

 kubectl config get-contexts
 kubectl config use-context docker-desktop

Make targets

Here is a list of all available make targets:

  • generate: Generate golang code
  • build-app: Build docker image
  • lint: Carry out linting
  • port-forward: Port forward to api server at port 8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published