Instructions for getting started developing Pelorus
- Spin up this workspace by entering this repo URL into a Dev Spaces/Eclipse Che instance
- Once workspace has started run the "pelorus-ui > install" Task to do an
npm install
of dependencies - If running Pelorus in a separate cluster
- use oc to log into the other cluster
- Once logged in, run
oc whoami -t > /tmp/token
- Create an environment variable to point workspace to the Prometheus URL in the other cluster
bash echo "export PELORUS_URL=https://<prometheus-route hostname>/api/v1" >> ${PROJECTS_ROOT}/custom-env.sh
- Run the "Pelorus API Dev Mode" task
- Run the "Pelorus UI Dev Mode" task