我想在我的應用程序中嘗試CouchDB,但是我找不到如何在沒有從linux shell進行安裝的情況下運行此操作。如果不從shell安裝,可以運行CouchDB嗎?
當我的MongoDB工作,我使用以下exetutable文件(例如mongod的運行服務器)來運行它
./mongo
但我發現只有其中使用的是安裝CouchDB的例子。
有沒有任何選擇如何在沒有安裝的情況下運行CouchDB服務器?
編輯:我找類似於運行的MongoDB簡單的解決方案如上特點,如果可能的話。
我想在我的應用程序中嘗試CouchDB,但是我找不到如何在沒有從linux shell進行安裝的情況下運行此操作。如果不從shell安裝,可以運行CouchDB嗎?
當我的MongoDB工作,我使用以下exetutable文件(例如mongod的運行服務器)來運行它
./mongo
但我發現只有其中使用的是安裝CouchDB的例子。
有沒有任何選擇如何在沒有安裝的情況下運行CouchDB服務器?
編輯:我找類似於運行的MongoDB簡單的解決方案如上特點,如果可能的話。
我認爲最簡單的方法嘗試 Apache CouchDB將它作爲Docker容器運行。
爲守護程序:
docker run -p 5984:5984 --name couchdb -d couchdb
或互動:
docker run -it -p 5984:5984 --name couchdb couchdb
****************************************************
WARNING: CouchDB is running in Admin Party mode.
This will allow anyone with access to the
CouchDB port to access your database. In
Docker's default configuration, this is
effectively any other container on the same
system.
Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
to set it in "docker run".
****************************************************
Apache CouchDB 1.6.1 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.32.0>] Apache CouchDB has started on http://0.0.0.0:5984/
引用: