rbmd_test/README.md

42 lines
634 B
Markdown
Raw Permalink Normal View History

2018-04-10 10:32:48 +03:00
# rbmd web panel
Web dashboard for [RBMD](https://github.com/Difrex/rbmd)
provides interface to monitor cluster data and allows you to mount/umount/resolve.
## Requirements
Python2.7
python-pip
Install dependencies:
```sh
pip install -r requrements.txt --user
```
Apply database schema
```sh
sqlite3 auth.db < schema.sql
```
Add users
```sh
./users.py -u username # Add -p 'password' optionaly
```
Change config
```json
{
"zookeeper" : "127.0.0.1:2181", // Zookeeper
"api": "http://127.0.0.1:9076/v1" // RBMD HTTP API endpoint
}
```
## Usage
Run
```sh
./rbmd.py
```
This is a turn on the web server at 0.0.0.0:8000.