Keep couchdb views up to date
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
lib
test
.gitignore
.travis.yml
README.md
cli.js
getDB.js
makefile
package.json
sampleConfig.json
sync.js
update.js

README.md

Keep couchdb views up to date Build Status [Dependency Status Dependency tracking by David

https://david-dm.org/nisaacson/couchdb-update-views#badge-embed

Installation

npm install -g couchdb-update-views

Usage

To update your documents specify the path to a config file and a directory containing your design documents. Both paths can either by relative to your current working directory or full paths to the file on disk

couchdb-update-views --config ./sampleConfig.json --docsDir ./docs

Look at /sampleConfig.json for an example of what your config json file should look like

Update code taken from here http://bravenewmethod.wordpress.com/2011/06/03/keeping-couchdb-design-docs-up-to-date-with-node-js/