Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 72571 invoked from network); 1 Sep 2008 17:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 17:09:33 -0000 Received: (qmail 9441 invoked by uid 500); 1 Sep 2008 17:09:31 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 9410 invoked by uid 500); 1 Sep 2008 17:09:31 -0000 Mailing-List: contact couchdb-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-commits@incubator.apache.org Received: (qmail 9401 invoked by uid 99); 1 Sep 2008 17:09:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 10:09:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 17:08:41 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 4539211151 for ; Mon, 1 Sep 2008 17:09:12 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: couchdb-commits@incubator.apache.org Date: Mon, 01 Sep 2008 17:09:12 -0000 Message-ID: <20080901170912.1809.63715@eos.apache.org> Subject: [Couchdb Wiki] Update of "Contributing" by ChristopherLenz X-Virus-Checked: Checked by ClamAV on apache.org 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. }}}