Hi,
I'd like to use couchdb for a client-only application on Windows (the document-oriented structure and the synchronization features would be perfect for me).
There is a Windows installer package here, but the installer itself has about 45 MB, when installed it takes more than 100 MB on my HD. This is far to much for my (relatively small) application.
I noticed that there are a lot of "src" directories in the couchdb/lib
subdirs. I've been experimenting with removing some of them and it didn't seem to break the system.
Now I'm wondering what would be the "minimal" set of files (preferably binary-only) that would be needed in order to run a local couchdb server. Are there already any efforts to create such a deployment-friendly installer? Or could anyone give some (even very general) hints how to create it? How much disk space would be minimally required for such an installation?
Needless to say that I'm not at all familiar with neither the couchdb internals nor the Erlang system :). But perhaps I could figure out if I got some direction (or I could stop trying if someone told me that this would be impossible or didn't make sense at all ...)
Thanks anyway!
EDIT
Thanks to skaffmann, I did the analysis using WinDirStat which led me to the following additional questions:
- Is it correct, that the source-Files (i.e.
.erl
) files would not be needed for operation? (This would reduce the size by about 40 MB). - Are all compiled files (i.e.
.beam
) files required by couchdb? For example, there seems to be a complete wxwidgets library within couchdb and I cannot see at all, where that would be needed? Also themegaco
library (media gateway protocol?) seems to belong to a "standard" erlang distribution but makes no sense for couchdb?
(I will just try to remove them by filetype/library and post updates here just in case anyone is interested ...)