To get this to work under debian sid, I needed to do a few things that aren't included in the documentation for couchapp et al:
1) # cd /usr/bin ; ln nodejs node
2) # export NODE_PATH=/usr/local/lib/node_modules
3) # ulimit 10000 even though ulimit said "unlimited".
4) add a bunch of types in /usr/local/lib/node_modules/couchapp/mimetypes.js
I think the ulimit problem may be viewed as a bug in couchdb if not Erlang itself, since Erlang's aggressive parallelism really should be paying attention to the ulimit in the core.
To get this to work under debian sid, I needed to do a few things that aren't included in the documentation for couchapp et al:
1) # cd /usr/bin ; ln nodejs node
2) # export NODE_PATH=/usr/local/lib/node_modules
3) # ulimit 10000 even though ulimit said "unlimited".
4) add a bunch of types in /usr/local/lib/node_modules/couchapp/mimetypes.js
I think the ulimit problem may be viewed as a bug in couchdb if not Erlang itself, since Erlang's aggressive parallelism really should be paying attention to the ulimit in the core.