Prerequisites
To safely develop the Epinio UI, we will need to set up a cluster and install Epinio on it.
Setting up a cluster​
We can use Minikube, k3d, etc to do this. For these instructions, we will use Minikube. Go ahead and install Minikube.
After installation, run
minikube start.Enable Nginix Ingress, run
minikube addons enable ingress. Note: if you are having issues with this on Windows or MacOS, you may runminikube tunnel(source).Install Rancher on your new cluster.
4a. Ensure you have switched your context if minikube didn't do so already.
4b. Note that when setting this up, your hostname should be rancher.
<minikube ip>.nip.io. To get your Minikube IP, runminikube ip.4c. Use the stable branch when adding your Helm charts locally unless you are testing specific features against Epinio.
4d. Depending on your system resources, Rancher can take a while to get started up, so be patient.
4e. Navigate to the Rancher URL you set up and do the setup Rancher process; the default password is
admin.Set up your Epinio Helm Values file. You can save this as epinio-values.yaml for use in the next step.
global:
domain: '<ip>.sslip.io'
rancher:
url: '<url of the location that serves the dashboard, for dev this would be https://localhost:8005>'
6a. Note once you hit the installation step for epinio itself, you can supplement the command with helm install epinio -n epinio --create-namespace epinio/epinio -f epinio-values.yaml to target your newly created helm values file.
Congrats, you have completed all of the prerequisites to develop Epinio! Check out how to get started with the Epinio Rancher Extension or Standalone Application. Looking forward to your first PR!