如何安装CouchDB插件/守护进程,如couchperuser?
答案 0 :(得分:1)
安装任何依赖项。 couchperuser 需要 rebar ,例如
$ brew install rebar
确保插件目录存在,例如
$ mkdir /usr/local/Cellar/couchdb/1.6.0_1/lib/couchdb/plugins
克隆(下载)回购:
$ git clone https://github.com/etrepum/couchperuser.git
移动插件文件:
$ mv couchperuser /usr/local/Cellar/couchdb/1.6.0_1/lib/couchdb/plugins
构建插件文件:
$ cd /usr/local/Cellar/couchdb/1.6.0_1/lib/couchdb/plugins/couchperuser
$ make
重新启动couchdb