~pablorubianes-uy/loco-team-portal/fix.1320559

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
For Postgresql:
 - sudo apt-get install postgresql-8.3 python-psycopg2 
# 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


For Development:

Install necessary javascript and iso packages
    sudo make depends

Setup virtualenv, common apps and initialize database
    make init

Run LoCo Team Portal unit tests, you should make sure all tests pass
    make test

You may optionally populate your database with team data from launchpad or all
data from the production site.

Populate database with minimal amount of data from Lauchpad
    make lp

Populate database with live data from http://loco.ubuntu.com
    make live

Run LoCo Team Portal through the Django server to view your local instance
    make run