...
Code Block |
---|
git clone git@git.nordu.net:lobber.git cd lobber git checkout bud-light |
Create the a log, torrent and a torrent dropbox directory in the lobber root directory. Make the writable by the Apache user.
Code Block |
---|
cd /path/to/lobber/
mkdir logs
mkdir torrents
mkdir dropbox
|
Symlink the environment directory and Django admin media directory in to the src directory.
...
Code Block | ||
---|---|---|
| ||
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 = '/dirpath/writableto/by/apachelobber/user/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' ) |
...
- /path/to/lobber/logs/web.log is not writable by www-data (apache user).
- /path/to/lobber/torrents/ is not writable by www-data (apache user).
- /path/to/lobber/dropbox/ is not writable by www-data (apache user).
- /path/to/lobber/db/ (if you are using sqlite) is not writable by www-data (apache user).
...