~ronnie.vd.c/loco-team-portal/494950_db_approved

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Daniel Holbach
  • Date: 2009-12-21 11:03:49 UTC
  • Revision ID: daniel.holbach@canonical.com-20091221110349-bo2zmme5i2e4egif
start at revision 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 - sudo apt-get install postgresql-8.3 python-django python-psycopg2 python-launchpadlib 
 
2
 - install python-django-openid-auth from karmic or from:
 
3
   http://archive.ubuntu.com/ubuntu/pool/universe/p/python-django-openid-auth/
 
4
 
 
5
# not sure if necessary
 
6
# - sudo passwd postgres
 
7
#   # change password to 'password' or whatever the password is in loco-directory/settings.py
 
8
# - sudo -u postgres psql template1
 
9
#   ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';
 
10
 
 
11
 - sudo -u postgres createdb -O postgres loco_directory
 
12
 - cd loco_directory
 
13
 - cp settings.py.sample settings.py
 
14
# edit settings.py and set DATABASE_USER, DATABASE_PASSWORD, SECRET_KEY
 
15
 - ./manage.py syncdb
 
16
 - ./manage.py compilemessages
 
17
 - ./manage.py lpupdate
 
18
 - ./manage.py runserver