42 lines
634 B
Markdown
42 lines
634 B
Markdown
# 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.
|