Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Created February 23, 2011 03:25
Show Gist options
  • Save xeoncross/839961 to your computer and use it in GitHub Desktop.
Save xeoncross/839961 to your computer and use it in GitHub Desktop.
Directions on getting everything needed for running couchdb and the sample sofa blog.
# Install couchDB
sudo apt-get install couchdb
# If using Ubuntu < 11 you need a more recent version of couchdb (+1.0)
sudo apt-add-repository ppa:ubuntuone/stable
sudo apt-get update
sudo apt-get upgrade
# Method A: Install using python
sudo apt-get install python-setuptools
sudo easy_install -U couchapp
# Method B: Install Ubuntu PPA
sudo add-apt-repository ppa:couchapp/couchapp
sudo apt-get update
sudo apt-get install couchapp
# Create a new admin user
curl -X PUT http://127.0.0.1:5984/_config/admins/admin -d '"secret"'
# Install sofa
git clone git://github.com/jchris/sofa.git
cd sofa
couchapp push . http://user:[email protected]:5984/myblogdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment