On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende <[email protected]> wrote: > On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger > <[email protected]> wrote: >> Just curious, but why don't you just import the samples using curl and POST >> _bluk_docs instead? >> >> > > I was just following the "sofa" sample available in the couchDB book, > and that was using couchApp and I thought that all could be imported > in one step when pushing my app via couchApp. Are you saying that this > is not the recommended way ?
CouchApp has a method for doing this. If couchapp --help doesn't list it, then maybe Benoit can point to documentation. We are working on a couchapp.org site which should make all this easier in the future. > > If I start using curl to post the docs, I'll have to start maintaining > "deployment scripts" to automate this, and this might have platform > specific issues... so I was trying to avoid this for now. > > [1] http://books.couchdb.org/relax/example-app/design-documents > > -- > Luciano Resende > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > -- Chris Anderson http://jchrisa.net http://couch.io
