Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6D63109C4 for ; Fri, 8 Nov 2013 14:25:54 +0000 (UTC) Received: (qmail 55449 invoked by uid 500); 8 Nov 2013 14:25:52 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 54946 invoked by uid 500); 8 Nov 2013 14:25:47 -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 54938 invoked by uid 99); 8 Nov 2013 14:25:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 14:25:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mark.deibert@gmail.com designates 209.85.128.181 as permitted sender) Received: from [209.85.128.181] (HELO mail-ve0-f181.google.com) (209.85.128.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 14:25:39 +0000 Received: by mail-ve0-f181.google.com with SMTP id jx11so740871veb.26 for ; Fri, 08 Nov 2013 06:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=u/NyA6PoNixikrjSZJKEZSoc36tgPKKPFcxD286lINU=; b=MpGkI3oNGDRAudbMNc6L1PCwdax7cGTp8RMmK4WwSwt0pkcvVktF68nTOEFlx2tfwQ voljjs7qz8m2fRB17RNlKjBoopSVFu8SvzUjuHqlbCK89FsmKXNlkmO0/YsK+bQMel0x 0L1QT/QSuU/ax5TO6+g6YPRakONsSH9muZaKh3rxHt3Vfp7WAN4es7L0Osb23CKHHQzf s2zBvULhvtulHkuZw18T7VIWOt2N2cIVbKhTLxLN+jq5vy8CYflvUL9UrbV2r+TwCZLu Tph9KH5OI5yzcoBIncyebntlzoiJ5jMeP/JU5Ygey2QCVeKH+QMyuEQ6Xsdi5/yKFmAx 4cMA== MIME-Version: 1.0 X-Received: by 10.58.107.204 with SMTP id he12mr12130174veb.26.1383920718462; Fri, 08 Nov 2013 06:25:18 -0800 (PST) Received: by 10.220.198.199 with HTTP; Fri, 8 Nov 2013 06:25:18 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Nov 2013 09:25:18 -0500 Message-ID: Subject: Re: Tool to upload an entire website to CouchDB From: Mark Deibert To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=089e0116037ad248fd04eaab266e X-Virus-Checked: Checked by ClamAV on apache.org --089e0116037ad248fd04eaab266e Content-Type: text/plain; charset=ISO-8859-1 I'm sure a Sublime Text build script could kick off a grunt task. Haven't tried that but don't see why not. On Fri, Nov 8, 2013 at 8:03 AM, matt j. sorenson wrote: > ooh it never dawned on me to wire one of these up as a ST build system, > nice tip. > > there's probably a way to make it a grunt task, too? (then invoke grunt as > ST build?) > > > On Fri, Nov 8, 2013 at 6:57 AM, Mark Deibert > wrote: > > > Build the app with Sublime Text. Create a "Build" script in ST to use > > CouchApp to push the app to CouchDB. Works like a charm. > > > > > > On Fri, Nov 8, 2013 at 5:49 AM, Benoit Chesneau > > wrote: > > > > > erica + the webapp support should work for you, > > > > > > > > > Add a app.webapp in your folder and do erica push from it , it should > > just > > > work. > > > > > > A .webapp looks like: > > > > > > ``` > > > > > > { > > > > > > "name": "My App", > > > > > > "version" : "0.0.4", > > > > > > "description": "My elevator pitch goes here", > > > > > > "long_description" : "Something really important", > > > > > > "launch_path": "/", > > > > > > "url": "https://github.com/garden20/baseline-garden-app", > > > > > > "categories": ["learning"], > > > > > > "flattr_user_id" : "eckoit", > > > > > > "icons": { > > > > > > "16": "img/promo/icon_16.png", > > > > > > "48": "img/promo/icon_48.png", > > > > > > "96": "img/promo/icon_96.png", > > > > > > "128": "img/promo/icon_128.png" > > > > > > }, > > > > > > "promo_images": { > > > > > > "small": "img/promo/promo_small.png" > > > > > > }, > > > > > > "screenshots": [ > > > > > > "img/promo/screenshot1.png" > > > > > > ], > > > > > > "developer": { > > > > > > "name": "Ryan Ramage", > > > > > > "url": "http://your-homepage-here.org" > > > > > > }, > > > > > > "default_locale": "en" > > > > > > } > > > > > > ``` > > > > > > See http://www.w3.org/2012/sysapps/manifest/ for a look on the format. > > > > > > Hopefully i will make it easier soon. > > > > > > - benoit > > > > > > > > > On Fri, Nov 8, 2013 at 10:51 AM, Hank Knight > > wrote: > > > > > > > From a Linux command line, I would like to be able to be able to > > > > automatically upload an entire website including all pages, images, > > > > CSS files and scripts from a given directory into CouchDB. > > > > > > > > Before I go to the trouble of developing such a tool I wanted to see > > > > if such a tool already exists. > > > > > > > > If not, are there any considerations I should be aware of when > > > > developing this tool? I would probably either use shell scripting or > > > > Perl. > > > > > > > > > > --089e0116037ad248fd04eaab266e--