PostgreSQL
In order to use Chula session you will need to create the database
used by the backend. Use the following command to create them:
user# sudo su - postgres ## Or whatever user PostgreSQL is running as
postgres# cd wherever_you_unpacked_the_chula_tarball
postgres# ./sql/session/reload
The above command will create a user named chula and a database
named chula_session. Next you’ll need to make sure your server is
configured to support requests over TCP/IP. Usually this is done by
setting listen_addresses = 'localhost' or another hostname in
postgresql.conf.
Assuming you’re connecting to the server running locally, you’re all
done!
If you’re connecting to a remote server, you need to add the hostname
in your configuration via config.Config.session_host. If you
want to use a different user/password/port/server you are free to do
so.
CouchDB
You will need to configure config.Config.session_nosql with the
full HTTP path to your CouchDB server. If this is a local install,
you’d set the value to http://localhost:5984. Don’t worry about the
database, as it will be created automatically on demand.
Memcached
You need to configure your cluster information via
config.Config.session_memcache. If you’re using a local
install of Memcached you can just take the defaults, else configure it
with something like this:
[('host1:11211', 1), ('host2:11211', 1), ('host3:11211', 1)]