- Setup VM with
vagrant up && vagrant ssh(requires docker) - Install dependencies with
yarn - Run with
ng serve
Now you can visit localhost:4200 from your browser.
Releases can be made by using the script build_release.sh, which
builds a release for HEAD. It will generate the file
releases/caos_dashboard-<version>.tar.gz containing the distribution.
The script build_docker.sh generates a minimal docker image to be used
for deployment.
To run the container:
docker run -d -p 8080:80 --name caos-dashboard \
-e CAOS_DASHBOARD_TSDB_HOST=<caos-tsdb host> \
-e CAOS_DASHBOARD_TSDB_PORT=<caos-tsdb port> \
-e CAOS_DASHBOARD_BASE=<base url> \
caos-dashboard[:<tag>]
The container spawns an nginx instance, which both serves the
dashboard static files and proxies the caos-tsdb api.