incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: [PATCH] Point to the web interface after starting CouchDB
Date Wed, 14 May 2008 07:02:44 GMT
Heya Michael,
On May 14, 2008, at 04:48, Michael Hendricks wrote:

> When first time CouchDB users start the server, it's not obvious
> what the next step should be.  Providing a link to the online
> management interface helps newcomers start playing with CouchDB
> quickly.  For those who have used CouchDB for a while, having the
> link handy can also convenient.
> ---
>
> This is my first bit of Erlang ever.  Any suggestions are welcome.

Looks good to me. Will commit that later today.

Thanks for the patch!

Cheers
Jan
--

>
>
> src/couchdb/couch_server_sup.erl |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/ 
> couch_server_sup.erl
> index 2231815..e27a409 100644
> --- a/src/couchdb/couch_server_sup.erl
> +++ b/src/couchdb/couch_server_sup.erl
> @@ -176,7 +176,8 @@ start_server(InputIniFilename) ->
>     case StartResult of
>     {ok,_} ->
>         % only output when startup was successful
> -        io:format("Apache CouchDB has started. Time to relax.~n");
> +        io:format("Apache CouchDB has started. Time to relax.~n"),
> +        io:format("Management interface at http://~s:~s/_utils/ 
> index.html~n", [BindAddress, Port]);
>     _ ->
>         % Since we failed startup, unconditionally dump  
> configuration data to console
>         io:format("~s", [ConfigInfo]),
> -- 
> 1.5.5.23.g2a5fe
>
>


Mime
View raw message