【文件属性】:
文件名称:couchdb-setup:待定
文件大小:13KB
文件格式:ZIP
更新时间:2021-07-13 18:42:07
Erlang
这个模块实现了 /_cluster_setup 并管理 CouchDB 集群的设置。
测试
git clone https://git-wip-us.apache.org/repos/asf/couchdb.git
cd couchdb
git checkout setup
./configure
make
# in dev/run comment out the line `connect_nodes("127.0.0.1", 15984)`
dev/run --admin a:b
# in a new terminal
src/setup/test/t.sh
计划:
N. 最终用户操作
幕后发生了什么。
使用$ couchdb或 init.d 或任何其他方式启动 CouchDB,就像在 1.xx 中所做的那样
CouchDB 启动并监听 127.0.0.1:5984
从这里开始
【文件预览】:
couchdb-setup-master
----.gitignore(12B)
----src()
--------setup_app.erl(896B)
--------setup.erl(6KB)
--------setup_httpd.erl(4KB)
--------setup.app.src(755B)
--------setup_sup.erl(1KB)
----LICENSE(11KB)
----README.md(6KB)
----test()
--------t.sh(2KB)