Version 6.0 of the Alerta dashboard is an AngularJS web app that uses client-side templating.
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.