Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Install the needed python applications. (Yes, orbited again...needed as import in django)

Code Block
pip install django django-tagging django-form-utils stomp.py psycopg2 orbited

...

You might need these:

Code Block
pip install uuid django-evolution django-extensions werkzeug

...

Code Block
titlesettings.py
BASE_DIR = '/path/to/lobber'

APP_ADDR = 'host_ip or FQDN'
TRACKER_ADDR = 'host_ip or FQDN'

ADMINS = (
    ('Your name', 'your@email.net'),

DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_NAME = 'lobber'
DATABASE_USER = 'lobber'
DATABASE_PASSWORD = 'secret_password'
DATABASE_HOST = 'database host'
DATABASE_PORT = 'database port'

DROPBOX_DIR = '/path/to/lobber/dropbox'

# Make this unique, and don't share it with anybody.
SECRET_KEY = 'secret'

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',      # For the Permission model.
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'tagging',
    'lobber.extensions',
    'lobber.userprofile',
    'lobber.share',
    'lobber.links',
    'lobber.tracker',
    'lobber.auth'
)

If you are using Django 1.3 (standard from pip install django command) then you need to change your database settings to:

Code Block
titlesettings.py

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'lobber'
        'USER': 'lobber'
        'HOST': 'database_server'
        'PORT': 'database_port'
    }
}

Synchronize the database.

Code Block
./dev-django-admin.sh syncdb

...