Simple Gerrit UI for notifications
You should have:
- node.js installed (version 8+ or the one that supports ES6+)
- Chrome or other browser that supports ES6 and Notification API
- Gerrit, with Jenkins integration (maybe message annotation would work with other CIs, though)
How to run
Clone the project and rename
configuration.js and replace all properties according to your needs. Build the project with
npm install and then run:
It will start an instance of express.js server on port 3000. You should be able to open browser on
http://localhost:3000/ui to display UI. First you will be required to enable notifications in order to receive some.
If you don't have Gerrit instance available, you can start in development mode. You need to run to separate development scripts that would serve the frontend and backend parts separately.
This would start the webpack watcher that will build the changes as you save files. You need to refresh the page manually, though :).
Feel free to fork and reuse it anyhow you like. If you find it useful you can create an issue and I might be able to implement it.