Re: Importing sample data with couchApp

2010-01-06 Thread Luciano Resende
On Wed, Jan 6, 2010 at 2:24 PM, Martin Higham wrote: > Put the .json files in a directory called _docs, where is the id > for the document. > Perfect ! Thanks. -- Luciano Resende http://people.apache.org/~lresende http://lresende.blogspot.com/

Re: Importing sample data with couchApp

2010-01-06 Thread Martin Higham
Put the .json files in a directory called _docs, where is the id for the document. 2010/1/6 Chris Anderson > On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende > wrote: > > On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger > > wrote: > >> Just curious, but why don't you just import the

Re: Importing sample data with couchApp

2010-01-06 Thread Chris Anderson
On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende wrote: > On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger > 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,

Re: Importing sample data with couchApp

2010-01-06 Thread Luciano Resende
On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger 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 importe

Re: Importing sample data with couchApp

2010-01-06 Thread Klaus Pieslinger
Just curious, but why don't you just import the samples using curl and POST _bluk_docs instead? On Wed, Jan 6, 2010 at 2:54 PM, Luciano Resende wrote: > I'm starting to play with couchDB and I have a small application that > is being loaded to couchDB using couchApp and so far so good. Now I > w

Importing sample data with couchApp

2010-01-06 Thread Luciano Resende
I'm starting to play with couchDB and I have a small application that is being loaded to couchDB using couchApp and so far so good. Now I want to also provide some sample data that would be available as documents to the application and I couldn't find exactly how to do that, I have tried to add som