Skip to content

How to run CouchDB in Dev mode

Chao ZHOU edited this page Jan 18, 2011 · 1 revision

Checkout source code

Use git client to clone a copy to local drive and checkout ldap_auth branch git clone git@github.com:chao/couchdb.git git checkout ldap_auth

Build and run in Dev mode

Build CouchDB source code, you will need to run this every time when you changed your code. cd couchdb ./bootstrap xulrunner_gre_version=xulrunner --gre-version LD_RUN_PATH=/usr/lib/xulrunner-${xulrunner_gre_version} ./configure --with-js-lib=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ --with-js-include=/usr/lib/xulrunner-devel-1.9.1.7/include LD_RUN_PATH=/usr/lib/xulrunner-${xulrunner_gre_version} make dev You might want to edit configuration: vi etc/couchdb/local_dev.ini Run CouchDB in Dev Mode LD_LIBRARY_PATH=/usr/lib/xulrunner-devel-${xulrunner_gre_version}/lib/ ./utils/run

Clone this wiki locally