You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/09/25 13:31:00 UTC
[11/12] git commit: updated
refs/heads/1894-feature-experimental-nodejs-couchjs to ca5ecb8
move config to local.ini
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5253a2bd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5253a2bd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5253a2bd
Branch: refs/heads/1894-feature-experimental-nodejs-couchjs
Commit: 5253a2bdf025d7c4ab5ed39f5bcc1fd15e4dd0c8
Parents: 24dc404
Author: Jan Lehnardt <ja...@apache.org>
Authored: Tue Sep 24 17:01:12 2013 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Tue Sep 24 17:01:12 2013 +0200
----------------------------------------------------------------------
etc/couchdb/default.ini.tpl.in | 1 -
etc/couchdb/local.ini | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5253a2bd/etc/couchdb/default.ini.tpl.in
----------------------------------------------------------------------
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index bbee144..43b13a0 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -121,7 +121,6 @@ use_users_db = false
[query_servers]
javascript = %bindir%/%couchjs_command_name% %localbuilddatadir%/server/main.js
coffeescript = %bindir%/%couchjs_command_name% %localbuilddatadir%/server/main-coffee.js
-nodejs = /usr/local/bin/couchjs-node %localbuilddatadir%/server/main.js
; Changing reduce_limit to false will disable reduce_limit.
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5253a2bd/etc/couchdb/local.ini
----------------------------------------------------------------------
diff --git a/etc/couchdb/local.ini b/etc/couchdb/local.ini
index a5db26f..8aae331 100644
--- a/etc/couchdb/local.ini
+++ b/etc/couchdb/local.ini
@@ -25,6 +25,10 @@
; the whitelist.
;config_whitelist = [{httpd,config_whitelist}, {log,level}, {etc,etc}]
+[query_servers]
+;nodejs = /usr/local/bin/couchjs-node /path/to/couchdb/share/server/main.js
+
+
[httpd_global_handlers]
;_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}