hello all
Im about to start using couchdb directly from erlang, and have been reading the hovercraft APi for some time... today I sat down to actually install it and have realized that there's hardly any documentation out there that deals with how to go about doing it...
there is a very brief instruction here:
http://github.com/sendtopms/hovercraft#readme
how does one go about packaging this with their app?
hovercraft git readme instructions are a bit vague.
I poked around couchdb's startup scripts and found the command that actually runs erlang and initializes its module path, along with initial commands (-eval) that initialize couchdb. it is all in /usr/local/bin/couchdb (on my standard couchdb 0.10.1 install - Im aware that hovercraft works with 0.11 only). Either way, the command is at line 217...
so my thought is to perhaps append this command with appropriate paths/initializations of my own application modules (.beam). appending is via '-pa' command line flag, and then initialization of custom app would be appended after the last '-eval'.
this will definitely work but I was wondering if there's a less invasive way of integrating hovercraft/custom apps with couchdb in the same VM.
Im trying to be pretty specific here, my previous iteration of this question was too vague and broad.
thanks