Created
February 23, 2011 03:25
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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