forked from zookeepr/zookeepr
-
Notifications
You must be signed in to change notification settings - Fork 0
Site_Setup
CarlFK edited this page Apr 26, 2011
·
8 revisions
What an admin does to bring up the site for a conference.
-
to reload:
zookeepr$ touch zookeepr.wsgi -
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;