The one-click CouchDB package for Windows like Jan Lehnardt's CouchDBX for Mac OS X.
- Apache CouchDB - the open source NoSQL JSON database, running on Erlang
- GeckoFX - an open source component for embedding Mozilla Gecko (Firefox) in .Net applications
- We built it from source, so you don't have to
- Download and Unzip
- Double-Click on WinCouch.exe
- Add the source to the repository
- Add application configuration file
This is not yet sufficient to build from source yourself - we're working on it. But at least you can see the sauce...
WinCouch\
XULrunner\ #embedded Gecko engine
Skybound.Gecko.dll #Gecko shim
WinCouch.exe
CouchDB\ #CouchdB distro
bin\erl.ini #erlang config
erts-5.8.2\bin\erl.ini #erlang config
var\
log\couchdb\couch.log #logs
lib\couchdb\ #database files
etc\couchdb\local.ini #customisable config
Download and unpack the following binaries into the above structure:
- Apache CouchDB 1.0.2 binaries from Dave Cottlehuber and source
- GeckoFX binaries and source
- Win32 OpenSSL from Win32 OpenSSL 1.0.0.c
- set yourself a new environment variable,
%WinCouch%
-
convert
%wincouch%\couchdb\etc\couchdb\local.ini
to windows file format instead of unix -
copy both openssl DLLs into
%WinCouch%\couchdb\bin\
-
modify
couchdb.bat
to callwerl.exe
with-detached
(so it doesn't show up in menu) -
modify both
erl.ini
files as follows:[erlang] Bindir=..\\erts-5.8.2\\bin Progname=erl Rootdir=..
-
remove cruft (long list)
appmon-2.1.13 asn1-1.6.15 common_test-1.5.2 compiler-4.7.2 cosEvent-2.1.9 cosEventDomain-1.1.9 cosFileTransfer-1.1.10 cosNotification-1.1.15 cosProperty-1.1.12 cosTime-1.1.9 cosTransactions-1.2.10 debugger-3.2.5 dialyzer-2.4.0 docbuilder-0.9.8.9 edoc-0.7.6.8 erl_docgen-0.2.3 erl_interface-3.7.2 et-1.4.2 etap eunit-2.1.6 gs-1.5.13 hipe-3.7.8 ic-4.2.25 inviso-0.6.2 megaco-3.15 mnesia-4.4.16 observer-0.9.8.4 odbc-2.10.9 orber-3.6.18 os_mon-2.2.5 otp_mibs-1.0.6 parsetools-2.0.5 percept-0.8.4 pman-2.7.1 snmp-4.18 syntax_tools-1.6.7 test_server-3.4.2 toolbar-1.4.1 tools-2.6.6.2 tv-2.1.4.6 typer-0.1.7.5 webtool-0.8.7 wx-0.98.8
-
or more quickly
pushd %WinCouch%\couchdb\lib && rd /s/q appmon-* asn1-* common_test-* compiler-* cosEvent-* cosEventDomain-* cosFileTransfer-* cosNotification-* cosProperty-* cosTime-* cosTransactions-* debugger-* dialyzer-* docbuilder-* edoc-* erl_docgen-* erl_interface-* et-* etap eunit-* gs-* hipe-* ic-* inviso-* megaco-* mnesia-* observer-* odbc-* orber-* os_mon-* otp_mibs-* parsetools-* percept-* pman-* snmp-* syntax_tools-* test_server-* toolbar-* tools-* tv-* typer-* webtool-* wx-*
-
put some WinCouch & Gecko bits in here next