$ mkdir statusdashboard
$ cd statusdashboard
$ npm install statusdashboard
Create a setting.js
$ vi setting.js
Like this.
exports.create = function() {
var appSettings = {
hostname: 'status.local',
port: 8080,
services: [
{ name: 'fnortmetric', label: 'Fnortmetric', host: 'fnordmetric.local', check: 'http', port: '80', path: '/bar' },
{ name: 'jenkins', label: 'Jenkins CI', host: 'jenkins.local', check: 'http', port: '80' },
]
};
return appSettings;
};
$ APP_SETTINGS=$(pwd)/settings.js ./node_modules/statusdashboard/bin/statusdashboard