MonitHub is a simple dashboard to manage multiple monit instances, built on top of a MEAN stack – MongoDB, Express, AngularJS and Node.js.
Clone
git clone git://github.com/adonescunha/monithub.git
cd monithub
Install gulp
npm install -g gulp-cli
Build
gulp build
Start
npm start --production
- Include MonitHub as a dependency in your
package.json
file:
"dependencies": {
"monithub": "0.1.0"
}
-
Run
npm install
to install MonitHub. -
Include the MonitHub module where desired and then invoke it to get a promise for a
Server
object:
var monithub = require('monithub');
monithub()
.then(function(server) {
server.start();
})
.catch(function(err) {
throw err;
});
This interface is mostly inspired by the Ghost API for using as an npm module.
Any feedback, suggestions or patches are welcome via e-mail or Github Issues/Pull Requests. However, when submitting a patch, test are required to ensure bugs are not introduced.
Client:
karma start --single-run
Server:
npm test
See the LICENSE file for details.