如何在Mac OS X上安装CouchDB?(文件没有帮助)

Cor*_*len 1 macos curl couchdb

我尝试按照官方CouchDB docs docs.couchdb.org上的说明通过Homebrew安装CouchDB 1.6,但我没有成功.首先,我尝试了本机应用程序,但有效,但显然该版本不支持CORS.这是一个令人沮丧的经历,所以任何帮助将不胜感激.

这是我在尝试ping CouchDB时遇到的错误:

curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
Run Code Online (Sandbox Code Playgroud)

我按照安装指南进行操作:http://docs.couchdb.org/en/1.6.1/install/mac.html

这些是我使用的终端命令:

open /Applications/Installers/Xcode\ Tools/XcodeTools.mpkg
--> File not found (this step is listed as optional, so I moved on)

brew update
brew doctor

brew install autoconf
brew install autoconf-archive
brew install automake
brew install libtool
brew install erlang
brew install icu4c
brew install spidermonkey
brew install curl

brew link icu4c
--> Requires --force option which can cause installations to fail
    (I did not do the --force option)
brew link erlang
brew install couchdb
--> To test CouchDB run: curl http://127.0.0.1:5984/

curl http://127.0.0.1:5984/
--> curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
Run Code Online (Sandbox Code Playgroud)

Mac信息:

MacBook Pro (Retina, 13-inch, Late 2013)
OS X Yosemite
Version 10.10.3
Run Code Online (Sandbox Code Playgroud)

Dom*_*nes 5

我的猜测是它已安装,但只是没有运行.你可以尝试跑步couchdb -d吗?

这应该在后台启动,如果你需要它在每次启动时运行,你可以继续按照"作为守护进程运行"的说明