couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Wan <>
Subject Re: a place to post script for sharing?
Date Thu, 23 Apr 2009 06:29:18 GMT
Thanks, Nick. I uploaded my experiment here:

This experiment is interesting to me as an attempt to bootstrap an
HTML / Javascript file list, editor, AND renderer into a single
CouchDB design file.

1) Put this in your _utils folder and access it over couchdb.
(Sub-directory reverse proxying not supported)
   E.g. http://localhost/_utils/editor2.html (you can name it anything)
2) Enter the name of an existing or non-existing database.
3) Press install to install the design document called "_design/ide".
Your browser will visit the installed app automatically.
4) Create, load, edit, view, or delete web documents with either
text/html or text/javascript content type.
5) View the page by loading it in the editor and clicking the "View" button.
6) If you change the editor2.html code, you can click on the
"Reinstall" button to reload the editor2.html code into your couchdb
design document.

I think this could be pushed farther, but I'm already side-tracked
enough from my intentions with CouchDB :-)


On Wed, Apr 22, 2009 at 10:47 PM, Nicholas Orr <> wrote:
> Nick
> On Thu, Apr 23, 2009 at 3:22 PM, Samuel Wan <> wrote:
>> Hi, can anyone recommend a convenient place to post a single html file
>> for sharing?
>> I've been hacking around with the idea of bootstrapping a simple
>> html/javascript editor + renderer into CouchDB as a self-installing
>> design document. I hit a wall with my limited understanding of
>> CouchDB, but the self-installing aspect is kind of interesting, so I
>> just want to post it in case anyone else can do something with it.
>> -Sam

View raw message