Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

alerta/angular-alerta-webui

Repository files navigation

Alerta Web UI 6.0 (DEPRECATED)

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

dashboard

AngularJS is EOL

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.

Installation

In production, copy the files under the app/ directory to a web server.

Configuration

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.

Server Configuration

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'
]

Deploy to the Cloud

Deploy

Dependencies

All dependencies are included, however, for reference they are:

License

Copyright (c) 2015-2018 Nick Satterly. Available under the MIT License.