couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Contributing" by ChristopherLenz
Date Mon, 01 Sep 2008 17:09:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by ChristopherLenz:
http://wiki.apache.org/couchdb/Contributing

The comment on the change is:
Update the instructions for running from source for the config names in trunk

------------------------------------------------------------------------------
  Then create a configuration file that you'll use for running CouchDB directly from the source
directory. We'll call it `couch_dev.ini` and drop it directly into the checkout directory,
with the following content: (Note that we have CouchDB running on port 5985, so that it doesn't
conflict with any existing running instance on the standard port.)
  
  {{{
- [CouchDB]
+ [couchdb]
+ allow_remote_restart = true
+ database_dir = .
+ util_driver_dir = src/couchdb/.libs
  
- RootDirectory=.
- UtilDriverDir=./src/couchdb/.libs/
- AllowRemoteRestart=true
+ [httpd]
+ port = 5985
+ utils_dir = share/www
  
- [HTTPd]
+ [log]
+ file = couch.log
+ level = debug
  
+ [query_servers]
- DocumentRoot=./share/www
- BindAddress=127.0.0.1
- Port=5985
- 
- [Log]
- Level=debug
- 
- [CouchDB Query Servers]
- javascript=./bin/couchjs ./share/server/main.js
+ javascript = src/couchdb/couchjs share/server/main.js
- 
  }}}
  
- Note that we use relative paths for anything that's in the checkout (such as the static
resources and the Javascript view server). For the database directory and the log file, we're
using a temporary path here, but it could really be anything you'd like.
+ Note that we use relative paths for anything that's in the checkout (such as the static
resources and the Javascript view server). For the database directory and the log file, we're
using the current working directory here, but it could really be anything you'd like (such
as a directory in `/tmp`).
  
  Now you can fire up CouchDB as follows. Do this from the top of the checkout directory so
that the relative paths we put in the configuration file work correctly.
  
@@ -119, +116 @@

  When CouchDB starts, you should see:
  
  {{{
- Apache CouchDB 0.9.0a-incubating (LogLevel=debug) is starting.
+ Apache CouchDB 0.9.0a690675-incubating (LogLevel=debug) is starting.
  Configuration Settings ["couch_dev.ini"]:
-   [CouchDB] AllowRemoteRestart="true"
+   [couchdb] allow_remote_restart="true"
-   [CouchDB] RootDirectory="."
+   [couchdb] database_dir="."
-   [CouchDB] UtilDriverDir="./src/couchdb/.libs/"
+   [couchdb] util_driver_dir="src/couchdb/.libs"
-   [CouchDB Query Servers] javascript="./bin/couchjs ./share/server/main.js"
-   [HTTPd] BindAddress="127.0.0.1"
-   [HTTPd] DocumentRoot="./share/www"
-   [HTTPd] Port="5985"
+   [httpd] port="5985"
+   [httpd] utils_dir="share/www"
+   [log] file="couch.log"
-   [Log] Level="debug"
+   [log] level="debug"
+   [query_servers] javascript="src/couchdb/couchjs share/server/main.js"
  Apache CouchDB has started. Time to relax.
  }}}
  

Mime
View raw message