Skip to content
milanpro edited this page Mar 26, 2020 · 12 revisions

Requirements

Garden

Garden is a cli tool that simplifies building and deploying docker images to a given kubernetes cluster. With our configuration only one command is necessary for deployment.

Minikube

Since our environment expects a running kubernetes cluster, we have to install minikube or a similar tool for local development. Minikube is easy to setup and proven to work.

Docker

Docker is needed to build the docker images

NodeJS + Yarn

The frontend is built using Create-React-App. For a local setup therefore NodeJS is necessary and as a package manager Yarn is used.

Clone the repo including all submodules by executing git clone --recurse-submodules git@github.com:hpi-epic/mpci.git Now run garden deploy to deploy to your minikube cluster. You can access the deployed version on the ip address returned by minikube ip. If you are unable to connect, minikube addons enable ingress might help. If you want to deploy to a cluster you need to have a docker registry somewhere with repositories for all images.