From user-return-8307-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Jan 06 18:00:21 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 21776 invoked from network); 6 Jan 2010 18:00:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2010 18:00:21 -0000 Received: (qmail 30265 invoked by uid 500); 6 Jan 2010 18:00:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30224 invoked by uid 500); 6 Jan 2010 18:00:19 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 30214 invoked by uid 99); 6 Jan 2010 18:00:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 18:00:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of klaus.pieslinger@gmail.com designates 209.85.211.183 as permitted sender) Received: from [209.85.211.183] (HELO mail-yw0-f183.google.com) (209.85.211.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 18:00:11 +0000 Received: by ywh13 with SMTP id 13so40296809ywh.29 for ; Wed, 06 Jan 2010 09:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=rMMFuoFL/rGlajG+CFVQddC6yTOsiwqEufuR6RLyfWI=; b=OdgR76qWnDQTBDYVevbLh3aKuj8N37WGzmlxB7TaCDAaWj6KDmqige08Qq5qd4TWZZ prBcT+vQ3JEKHIBeUExmfbjaCucPDAiT6TeDxVlWvrwHJsoQKNrQRIMJoEJWMBEBDKNW extxTGmhvKiEb/UKXMEPeOzVMiUOah/qjdKgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IMR6zOf4Q5fxtOud8qX+6m/A2K6+5PooG23AMrGzbE0Le+O/Je2gWQV9fBWzUm6rqA jM4nMqa/XOcc69r2oMgeA/kb/UL0+PWnw3v7qPC2RyzqBKZBMK0S2YK/V+qxtY/dYKtt CWQ/dhB+sS2VI3HvFySpxAxaRDgQ7Qw3yTZjc= MIME-Version: 1.0 Received: by 10.150.44.27 with SMTP id r27mr13297771ybr.263.1262800789163; Wed, 06 Jan 2010 09:59:49 -0800 (PST) In-Reply-To: <5a75db781001060954q3ef78e8bp6dc73b97d9a0e428@mail.gmail.com> References: <5a75db781001060954q3ef78e8bp6dc73b97d9a0e428@mail.gmail.com> From: Klaus Pieslinger Date: Wed, 6 Jan 2010 14:59:29 -0300 Message-ID: <354521eb1001060959s572d4b0fu7feff6cf9f6e7de4@mail.gmail.com> Subject: Re: Importing sample data with couchApp To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000e0cd59c9675d0bd047c82b82a X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd59c9675d0bd047c82b82a Content-Type: text/plain; charset=ISO-8859-1 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 > 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 some xxx.json documents in the root of the > application folder structure, but that didn't work and these docs were > imported as design documents. Any pointers on how I could import > sample data documents to the application using couchApp ? > > -- > Luciano Resende > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > --000e0cd59c9675d0bd047c82b82a--