Perl based CouchDB tools I use
Perl Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
db
.gitignore
README.md

README.md

couch_tools

Perl based CouchDB tools I use

Setup

in the root directory put a file with something like this:

# cat .couchdb
export_dir = ./db
[dev]
    host = 127.0.0.1
    port = 5984
    user = ADMIN USER
    pass = PASSWORD 

in the DB directory some

# cat .couchdb
export_dir = .
[dev]
    host = 127.0.0.1
    port = 5984
    user = ADMIN USER
    pass = PASSWORD 

run it with:

# bin/couch_dump_views dev/[database name]

load the dumped views with:

# cd db/
# ./load_views.sh