Description of how to install the software needed for Lobber.
Page index
- Common
- Web application and tracker server
- Storage node
- Database server
Common
All hosts are running Ubuntu (10.04) with the following extra packages and customizations.
...
Code Block |
---|
apt-get install postfix
# local only configuration!
|
Web application and tracker server
Install the following packages:
...
Storage node
See Running a storage node
Note that the web application and tracker server needs a storage node nowadays – that's how we do file upload.
Database server
Code Block |
---|
apt-get install postgresql-client-8.4
|
Look at the official Django database documentation.
Setting up your own sandbox
- apt-get install python-virtualenv
- virtualenv /mina/envs/lobber
- . /mina/envs/lobber/bin/activate
- pip install django django-extensions django-tagging orbited uuid django-evolution stomp.py werkzeug psycopg2
- git clone git@git.nordu.net:lobber.git (alt. git pull)
- cd lobber
- git checkout <branch>
- mkdir db
- mkdir logs
- cd src
- ./dev-django-admin.sh syncdb
- ln -s /mina/envs/lobber env
- ln -s env/lib/python2.6/site-packages/django/contrib/admin/media admin-media
- Edit paths in settings.py
- ./dev-django-admin.sh runserver_plus