~dholbach/loco-team-portal/fix494434

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 - sudo apt-get install postgresql-8.3 python-django python-psycopg2 python-launchpadlib 
 - install python-django-openid-auth from karmic or from:
   http://archive.ubuntu.com/ubuntu/pool/universe/p/python-django-openid-auth/

# not sure if necessary
# - sudo passwd postgres
#   # change password to 'password' or whatever the password is in loco-directory/settings.py
# - sudo -u postgres psql template1
#   ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';

 - sudo -u postgres createdb -O postgres loco_directory
 - cd loco_directory
 - cp settings.py.sample settings.py
# edit settings.py and set DATABASE_USER, DATABASE_PASSWORD, SECRET_KEY
 - ./manage.py syncdb
 - ./manage.py compilemessages
 - ./manage.py lpupdate
 - ./manage.py runserver