couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcello Nuccio <marcello.nuc...@gmail.com>
Subject Re: The new couchapp. [cr]
Date Wed, 06 Apr 2011 16:58:35 GMT
What are the advantages of using erlang for the config file?
Scriptability?

thanks,
  Marcello

2011/4/6 Benoit Chesneau <bchesneau@gmail.com>:
> On Wed, Apr 6, 2011 at 1:10 PM, Hendrik Jan van Meerveld
> <haaiee@gmail.com> wrote:
>> Hi Benoît,
>>
>> Thanks for working on improving couchapp which is allready great.
>>
>> Would an Erlang config file be readable for a non-Erlang person like me?
>> What would it look like?
>>
>
> Here is a snippet of current work (not public yet):
>
> % log level
> {verbose_level,  1}.
>
> % always check app on sent
> {always_check, true}.
>
> % dbs urls
> {push_env, [
>    % one db push
>     {"name", "url", [Options]},
>     % multiples db push
>     {"name", [{url option}, {url, options}]}
> ]}.
>
> % hooks
> {pre_hooks, [{push, "path/to/shell'}}}.
> {post_hooks, [{push, "path/to/shell'}}}.
>
>
> I think it's enough simple to be used by anyone, isn't it?
>
> - benoît
>

Mime
View raw message