Skip to content

How to push a bunch of sample documents? #132

@benel

Description

@benel

Thank you very much for your nice set of CouchDB tools, @jo!

For now I've used a dockerized version of the antique python couchapp.

I've just tested replacing couchapp push with your couchdb-push and it works like a charm.

However, in my testing process, I also use couchapp pushdocs to bootstrap a database with sample documents needed by tests. couchdb-push doesn't seem to be suited with this since pushing the folder creates a single document and iterating on each document from the shell is far too slow.

Is there a different way (option) to use couchdb-push to push each JSON file of a folder as a CouchDB document?

Or should I use couchdb-bootstrap for that? If yes, is there a way to do this without adding one or two folder levels (for server and database)?

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions