This repository contains a dashboard application implemented using Go that shows which versions of the Survey Data Collection (SDC) platform microservices are deployed to which environment, using information held by the SDC Microservice Versions Git repository.
- Install the Godep package manager using
go get github.com/tools/godep - Run
godep getto download and install the other dependencies managed by Godep
Install Go and ensure your GOPATH environment variable is set (usually it's ~/go).
A Makefile is provided for compiling the code:
make
The compiled executable is placed within the build directory tree.
First compile the code using make then execute the binary in the background using ./versions-dashboard & from within the bin directory within the build directory tree.
The following environment variable may be overridden:
| Environment Variable | Purpose | Default Value |
|---|---|---|
| PORT | HTTP listener port | :8080 |
To clobber the build directory tree that's created when running make, run:
make clean
Copyright (C) 2017 Crown Copyright (Office for National Statistics)