Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mit-pdos/noria-ui
Web UI for Noria clusters
https://github.com/mit-pdos/noria-ui
Last synced: about 2 months ago
JSON representation
Web UI for Noria clusters
- Host: GitHub
- URL: https://github.com/mit-pdos/noria-ui
- Owner: mit-pdos
- License: mit
- Created: 2018-05-09T19:39:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-22T19:35:17.000Z (over 5 years ago)
- Last Synced: 2024-04-30T09:03:06.372Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 632 KB
- Stars: 67
- Watchers: 14
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Noria web UI
This repository contains the web UI for [Noria](https://github.com/mit-pdos/noria)
servers. You connect it to a running Noria deployment by pointing the web UI at the
Noria controller's _external port_.### Requirements
Python and a recent version of Pystache.On Ubuntu:
```
$ apt-get install python-pystache
```
Other platforms with `pip`:
```
$ pip install pystache
```## Serving the UI
To generate static HTML files, run:
```
$ make
```To serve the UI on `localhost` port 8000 via Python's `simplehttp`:
```
$ ./run.sh
```You can now access the UI in your browser at
[http://localhost:8000](http://localhost:8000).Use the top-right hand control to point the UI to a running controller's
external REST API address.Noria prints this address on startup:
```
Oct 08 18:01:56.004 INFO became leader at epoch 587761
Oct 08 18:01:56.006 INFO found initial leader
Oct 08 18:01:56.007 INFO leader listening on external address V4(127.0.0.1:6033)
```
The last line specifies the external address and port; the default port is 6033.