incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Westreicher Bakk.techn." <st...@meredrica.org>
Subject Re: Tool to upload an entire website to CouchDB
Date Fri, 08 Nov 2013 18:09:26 GMT
I think OP wants a tool to push crawled pages to couch, not couch apps. 

If I'm correct it should be doable with a simple curl loop. 

Simon Metson <simon@cloudant.com> wrote:
>Yeah, I’ve done this. Use the ST build thing to call grunt, and the
>grunt couchapp task to push the code.  
>
>
>On Friday, 8 November 2013 at 14:25, Mark Deibert wrote:
>
>> 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
><matt@sorensonbros.net (mailto:matt@sorensonbros.net)>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
><mark.deibert@gmail.com (mailto:mark.deibert@gmail.com)>
>> > 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
><bchesneau@gmail.com (mailto:bchesneau@gmail.com)>
>> > > 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
><hknight555@gmail.com (mailto:hknight555@gmail.com)>
>> > > 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.
>> > > >  
>> > >  
>> >  
>>  

-- 
Sent from Kaiten Mail. Please excuse my brevity.

Mime
View raw message