Installation and ConfigurationΒΆ

It is strongly suggested that you should already know what is virtualenv, preferably virtualenvwrapper at this stage.

You can easily install couchbasekit via pip:

$ pip install couchbasekit

Note

couchbasekit has dependencies on:

Then, the only configuration you have to do is couchbase authentication, somewhere at the beginning of your application (such as settings.py if you’re using Django Web Framework for example):

from couchbasekit import Connection
Connection.auth('theusername', 'p@ssword')

or:

from couchbasekit import Connection
Connection.auth(
    username='theusername', password='p@ssword',
    server='localhost', port='8091', # default already
)

That’s it. Now, you are ready for a crash course. See Quick Start.

Project Versions

Previous topic

couchbasekit

Next topic

Quick Start

This Page