1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
1. sudo apt-get install python-django python-launchpadlib python-django-openid-auth bzr
---
Optional for postgres usage:
- sudo apt-get install postgresql-8.3 python-psycopg2
- edit local_settings.py and set DATABASE_USER, DATABASE_PASSWORD, SECRET_KEY
- Not sure if necessary:
- sudo passwd postgres
change password to 'password' or whatever the password is in harvest/settings.py
- sudo -u postgres psql template1
ALTER USER postgres WITH ENCRYPTED PASSWORD 'password';
- sudo -u postgres createdb -O postgres harvest
---
2.
- cd harvest
- ./manage.py syncdb
- ./manage.py init-harvest
- ./manage.py update
- ./manage.py runserver
|