Skip to content

ivyerick/node-zk-browser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-zk-browser

A zookeeper web administrator in node.js. It's based on express.js and 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.

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([email protected])

About

A zookeeper web administrator in node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.2%
  • CSS 7.7%
  • HTML 6.0%
  • Shell 0.1%