Version 6.0 of the Alerta dashboard is an AngularJS web app that uses client-side templating is no longer supported and has now been archived.
The latest version of the web UI can be found at https://github.com/alerta/alerta-webui
As of July 1, 2018 active development of AngularJS has stopped and version 1.7 has entered in to a Long Term Support Period which will last 3 years.
Alerta Web UI uses AngularJS 1.5 which was last updated in January 2017 and is not an LTS version so will not receive any security patches or updates.
Migrating this application directly to Angular (2+) is not possible as Angular is a significantly different framework. A rewrite of the web UI is in progress and as such, this version is now in "maintenance mode" and no further feature enhancements will be accepted. Only security patches or critical bug fixes will be considered from January 31, 2019.
In production, copy the files under the app/
directory to a web server.
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. If the API endpoint is at a non-default location create a config.json
file:
{
"endpoint": "https://api.example.com"
}
All other settings are downloaded from the server when the client starts.
Ensure the Alerta API server configuration is updated to include the web UI address in the CORS_ORIGINS
setting:
CORS_ORIGINS = [
'http://web.example.com'
]
All dependencies are included, however, for reference they are:
Copyright (c) 2015-2018 Nick Satterly. Available under the MIT License.