Github user justinleet commented on a diff in the pull request:
https://github.com/apache/metron/pull/773#discussion_r141461458
--- Diff: metron-interface/metron-alerts/README.md ---
@@ -6,15 +6,74 @@
- [Installing on an existing Cluster](#installing-on-an-existing-cluster)
## Caveats
-* UI doesn't have an authentication module yet
* UI uses local storage to save all the data. A middleware needs to be
designed and developed for persisting the data
## Prerequisites
-* Elastic search should be up and running and should have some alerts
populated by metron topologies
+* The Metron REST application should be up and running and Elasticsearch
should have some alerts populated by Metron topologies
+* The Management UI should be installed (which includes
[Express](https://expressjs.com/))
* The alerts can be populated using Quick Dev, Full Dev or any other setup
* UI is developed using angular4 and uses angular-cli
* node.JS >= 7.8.0
+## Installation
+
+### From Source
+
+1. Package the application with Maven:
+
+ ```
+ cd metron-interface/metron-alerts
+ mvn clean package
+ ```
+
+1. Untar the archive in the $METRON_HOME directory. The directory
structure will look like:
+
+ ```
+ bin
+ metron-alerts-ui
+ web
+ expressjs
+ alerts-server.js
+ alerts-ui
+ web assets (html, css, js, ...)
+ ```
+
+1. Copy the `$METRON_HOME/bin/metron-alerts-ui` script to
`/etc/init.d/metron-alerts-ui`
+
+1. [Express](https://expressjs.com/) is installed at
`$METRON_HOME/web/expressjs/` as part of the Management UI installation
process. The Management UI should be installeed first on the same host as the
Alerts UI.
+
+### From Package Manager
+
+1. Deploy the RPM at
`/metron/metron-deployment/packaging/docker/rpm-docker/target/RPMS/noarch/metron-alerts-$METRON_VERSION-*.noarch.rpm`
+
+1. Install the RPM with:
+
+ ```
+ rpm -ih metron-alerts-$METRON_VERSION-*.noarch.rpm
+ ```
+
+## Configuration
+
+The Alerts UI is configured in the `$METRON_HOME/config/alerts_ui.yml`
file. Create this file and set the values to match your environment:
+
+```
+port: port the alerts UI will run on
+
+rest:
+ host: REST application host
+ port: REST applciation port
+```
+
+## Usage
+
+After configuration is complete, the Management UI can be managed as a
service:
+
+```
+service metron-alerts-ui start
+```
+
+The application will be available at http://host:4201 assuming the port is
set to `4201`. Logs can be found at `/var/log/metron/metron-management-ui.log`.
--- End diff --
`metron-management-ui.log` to `metron-alerts-ui.log`
---