https://github.com/killme2008/node-zk-browser
A zookeeper web administrator in node.js
https://github.com/killme2008/node-zk-browser
Last synced: over 1 year ago
JSON representation
A zookeeper web administrator in node.js
- Host: GitHub
- URL: https://github.com/killme2008/node-zk-browser
- Owner: killme2008
- License: apache-2.0
- Created: 2011-06-02T10:15:05.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T16:36:30.000Z (over 6 years ago)
- Last Synced: 2025-03-30T03:04:40.695Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 316 KB
- Stars: 334
- Watchers: 45
- Forks: 128
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## node-zk-browser
A zookeeper web administrator in node.js. It's based on [express.js](http://expressjs.com/) and [node-zookeeper](https://github.com/yfinkelstein/node-zookeeper).It will display zookeeper's data as a lazy loading tree,and display every path's stat info and data;and you can create,edit or delete path if you logon.
## Requirement
You must install node.js 0.8.x from https://github.com/joyent/node/tags and [npm](https://github.com/isaacs/npm).
## Configure
First,you must install dependencies with npm
npm install -d
Then edit app.js to configure your zk hosts
var zkclient = new ZkClient("localhost:2181");
Or you can pass it by enviroment variable:
export ZK_HOST="localhost:2181"
in `start.sh`.
And edit user.json to configure your administrator account:
{ "name" : "password"}
## Run
Type command to start app
./start.sh
You can visit node-zk now at
http://localhost:3000
# License
Apache License Version 2.0
See LICENSE.txt file in the top level folder.
# Author
Dennis Zhuang(killme2008@gmail.com)