argo-cd/CONTRIBUTING.md
2018-03-15 19:01:13 -07:00

1.3 KiB

Requirements

Make sure you have following tools installed golang, dep, protobuf, kubectl.

$ brew install go dep protobuf kubectl
$ go get -u github.com/golang/protobuf/protoc-gen-go

Nice to have gometalinter and goreman:

$ go get -u gopkg.in/alecthomas/gometalinter.v2 github.com/mattn/goreman && gometalinter.v2 --install

Building

$ go get -u github.com/argoproj/argo-cd
$ dep ensure
$ make

Running locally

You need to have access to kubernetes cluster (including minikube or docker edge ) in order to run Argo CD on your laptop:

  • install kubectl: brew install kubectl
  • make sure kubectl is connected to your cluster (e.g. kubectl get pods should work).
  • install application CRD using following command:
$ kubectl create -f install/manifests/01_application-crd.yaml
  • start Argo CD services using goreman:
$ goreman start