CMS Exit Codes service

This directory contains codebase for CMS Exit Codes service.
To build it please install Go language on your system
and series of dependencies:
# obtain necessary dependencies
go get github.com/sirupsen/logrus
go get github.com/shirou/gopsutil
go get github.com/divan/expvarmon
go get github.com/sirupsen/logrus
# build server
go build
To run the service use the following command:
CMSExitCodes -config server.json
where server.json
has the following form:
{
"exitCodes":"/path/exitCodes.txt",
"port": 8243,
"templates": "/path/templates",
"jscripts": "/path/js",
"styles": "/path/css",
"images": "/path/images",
"verbose": 0
}