Skip to content

Instantly share code, notes, and snippets.

@kirklewis
Created August 21, 2016 12:41
Show Gist options
  • Save kirklewis/ce97f1f421c20ebbf9721a1d32d1f1e9 to your computer and use it in GitHub Desktop.
Save kirklewis/ce97f1f421c20ebbf9721a1d32d1f1e9 to your computer and use it in GitHub Desktop.
Install CouchDB and Futon

Installation

Linux (Ubuntu Distros)

# Get the latest package info
sudo apt-get update

# Fetch files for managing vendor source
sudo apt-get install software-properties-common -y

# Fetch latest couchdb
sudo add-apt-repository ppa:couchdb/stable -y

# Get the latest package info since adding couchdb PPA
sudo apt-get update

# Install CouchDB and Futon
sudo apt-get install couchdb -y

Verify couchdb

couchdb -V

Run couchdb first if the following does not work.

curl localhost:5984

# Response
{"couchdb":"Welcome","uuid":"9ce319188f99712da0d9fe56c7dd02a5","version":"1.6.1","vendor":{"name":"Ubuntu","version":"14.04"}}

Mac OSX

brew install couchdb

The following dependencies will be installed.

readline, nspr, spidermonkey, icu4c, unixodbc, jpeg, libpng, libtiff, wxmac, erlang

Verify couchdb

couchdb -V

Run couchdb then the following:

curl localhost:5984

# Response
{"couchdb":"Welcome","uuid":"f7c3031493ec7653cae1042df1351a58","version":"1.6.1","vendor":{"version":"1.6.1-1","name":"Homebrew"}}

Verify Futon

curl -I localhost:5984/_utils/

# Response
HTTP/1.1 200 OK
Server: CouchDB/1.6.1 (Erlang OTP/17)

Access Futon in the web browser using http://localhost:5984/_utils/

@NEbere
Copy link

NEbere commented Oct 10, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment