couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <si...@cloudant.com>
Subject Re: Tool to upload an entire website to CouchDB
Date Fri, 08 Nov 2013 14:29:11 GMT
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.
> > > >  
> > >  
> >  
>  




Mime
View raw message