Seed data generator for the Sense Ebola suite
JavaScript Vim script
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
adapters
db
factories
models
modules
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.travis.yml
.vimrc
index.js
package.json
readme.md

readme.md

sense-seed

Seed data generator for the Sense Ebola suite

Create [count] documents of pseudo FormHub models, formatted as a CouchDB bulk documents JSON object.

Usage

Pass output to stdout:

node index.js [count]

Push to a CouchDB instance:

node index.js [count] | curl -X POST -H "Content-Type: application/json" -d @- [user]:[pass]@[host]:[port]/[db]/_bulk_docs

Author

© 2014 Tom Vincent git@tlvince.com

License

Released under the MIT license.