Couchapp for viewing flow table info in couchdb
mkdir <source directory>
cd <source directory>
git clone https://github.com/harshad91/flowinfo.git
virtualenv venv
virtualenv
can be installed usingsudo pip install virtualenv
source venv/bin/activate
pip install couchapp
- Installs all the
counchapp
dependencies
- Installs all the
cd flowinfo
- Edit the
.couchapprc
file- Couchapp uses a db (same as flows db) to host files too. This info should be provided in couchapprc file.
- Change line no. 3 of the file to use your couchdb user/pwd combination instead of root:admin (highlighted below)
- {"db":"http://
root:admin
@localhost:5984/flowinfodb"}
- {"db":"http://
couchapp push . http://<username>:<password>@localhost:5984/flowinfodb/
- Replace
<username>
and<password>
with your couchdb credentials
- Replace
- Site can now be accessed at http://localhost:5984/flowinfodb/_design/flow-info/index.html