Saturday, January 25, 2014

setup python-based couchapp on FreeBSD


as root:

pkg install couchdb
couchdb -b

pkg install py27-virtualenv 
pkg install py27-pip


as normal user:

virtualenv couchapps
cd couchapps
. bin/activate
pip install couchapp

mkdir apps
cd apps/

couchapp generate app1
cd app1
git init
couchapp push . http://localhost:5984/example

No comments: