couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Importing sample data with couchApp
Date Wed, 06 Jan 2010 19:06:37 GMT
On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende <luckbr1975@gmail.com> wrote:
> On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger
> <klaus.pieslinger@gmail.com> 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

Mime
View raw message