Skip to content
CarlFK edited this page Apr 26, 2011 · 8 revisions

What an admin does to bring up the site for a conference.

  1. to reload:
    zookeepr$ touch zookeepr.wsgi

  2. edit lca_info.py file - all kinds of stuff in there.
    todo: default_email='foo@bar.com', use that for all email settings.
    todo: rename lca_info.py to info.py

zookeepr/config.ini 53:sqlalchemy.url = postgres://user:pw@localhost/dbname

Create the database:
$ sudo apt-get install postgresql python-psycopg2
$ sudo su postgres
$ psql
postgres=# CREATE DATABASE dbname;
postgres=# CREATE USER user WITH PASSWORD 'pw';
postgres=# GRANT ALL PRIVILEGES ON DATABASE dbname to user;