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/
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';
11
- sudo -u postgres createdb -O postgres loco_directory
13
- cp settings.py.sample settings.py
14
# edit settings.py and set DATABASE_USER, DATABASE_PASSWORD, SECRET_KEY
16
- ./manage.py compilemessages
17
- ./manage.py lpupdate
18
- ./manage.py runserver