incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Walgran" <jwalg...@gmail.com>
Subject Re: Hosting a Cappuccino application from CouchDB
Date Fri, 28 Nov 2008 21:09:41 GMT
That is incredibly helpful. Thank you.

To take it a step further, I am very interested in Chris Anderson's
work with distributing apps via CouchDB replication. Is there any way
the LightsOut application could be incorporated as an attachment like
Chris's Twitter application?

- Justin Walgran

On Fri, Nov 28, 2008 at 1:49 PM, Jan Lehnardt <jan@apache.org> wrote:
> I tired with the LightsOff demo.
>
> Two ways:
>
> 1) Put the LightsOff directory into $prefix/share/couchdb/www/
>
> LightsOff can be accessed at http://127.0.0.1:5984/_utils/LightsOff/
> (trailing slash is significant).
>
> 2) Add this to your $prefix/etc/couchdb/local.ini file:
>
> [httpd_global_handlers]
> LightsOff = {couch_httpd_misc_handlers, handle_utils_dir_req,
> "/path/to/LightsOff"}
>
> (see default.ini for more examples ot http global handlers)
>
> LightsOff can be accessed at http://127.0.0.1:5984/LightsOff/ (trailing
> slash is significant),
>
> Cheers
> Jan
> --
>
> On 28 Nov 2008, at 10:24, Justin Walgran wrote:
>
>> The Cappuccino web framework (http://cappuccino.org/) relies on a
>> library of javascript files in nested directories below a top-level
>> Frameworks directory. Is there a way I can serve this up from Couch?
>>
>> - Justin Walgran
>>
>
>

Mime
View raw message