Zero deployment CouchDB embedded in a Windows app?

前端 未结 4 730
一生所求
一生所求 2021-02-05 22:24

I\'m probably dreaming here, but am wondering if there\'s any possibility of completely embedding a minimal CouchDB engine within a Windows application, such that the app can be

4条回答
  •  心在旅途
    2021-02-05 23:03

    Why bother. It is so easy to install Erlang on Windows. Just bundle up the whole thing including the erl.exe binary and have your installer unzip it into a folder. The only thing that you would need to change would be the batch files, or better yet, discard them and write your own batch file to start up CouchDb. Also, it is a good idea to use a different port that either the normal Erlang port (or the usual CouchDB port) and maybe even get Erlang to use localhost as its "shortname".

提交回复
热议问题