Version 2.0 of the alerta dashboard is a flask wsgi application that uses server-side templating.
It has been updated to work with alerta 3.0 however, it is no longer actively supported and future development effort will focus on improving the new alerta webui based on AngularJS.
To install the v2 dashboard, clone the repository and run:
$ python setup.py install
By default, the dashboard will assume the alerta API endpoint is located at port 8080 on the same domain
that the dashboard is served from ie. http://localhost:8080
if the dashboard is at http://localhost:5000
Modify file dashboard/assets/js/config.js
to use a different alerta API endpoint. For example:
var appConfig = {
'endpoint': 'http://api.alerta.io:8080'
}
To run the dashboard in development, simply run alerta-dashboard
on the command-line:
$ alerta-dashboard
# => http://localhost:5000/dashboard/index.html
In production, the application should be served by any web server that supports wsgi web applications.
All dependencies are included, however, for reference they are:
Copyright (c) 2014,2016 Nick Satterly. Available under the MIT License.