Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisaacson/couchdb-update-views
Keep couchdb views up to date
https://github.com/nisaacson/couchdb-update-views
Last synced: about 1 month ago
JSON representation
Keep couchdb views up to date
- Host: GitHub
- URL: https://github.com/nisaacson/couchdb-update-views
- Owner: nisaacson
- Created: 2013-03-01T15:09:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-01T02:07:50.000Z (over 11 years ago)
- Last Synced: 2024-09-18T13:12:03.448Z (about 2 months ago)
- Language: JavaScript
- Size: 186 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Keep couchdb views up to date
[![Build Status](https://travis-ci.org/nisaacson/couchdb-update-views.png)](https://travis-ci.org/nisaacson/couchdb-update-views)
[![Dependency Status](https://david-dm.org/nisaacson/couchdb-update-views.png)
Dependency tracking by [David](http://david-dm.org/)https://david-dm.org/nisaacson/couchdb-update-views#badge-embed
# Installation
```bash
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
```bash
couchdb-update-views --config ./sampleConfig.json --docsDir ./docs
```
Look at /sampleConfig.json for an example of what your config json file should look likeUpdate code taken from here
[http://bravenewmethod.wordpress.com/2011/06/03/keeping-couchdb-design-docs-up-to-date-with-node-js/](http://bravenewmethod.wordpress.com/2011/06/03/keeping-couchdb-design-docs-up-to-date-with-node-js/)