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.
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