Versions Compared

Key

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

Description of how to install the software needed for Lobber.

Page index
  1. Common
  2. Web application and tracker server
  3. Storage node
  4. Database server

Anchor
common
common

Common

All hosts are running Ubuntu (10.04) with the following extra packages and customizations.

...

Code Block
apt-get install postfix
# local only configuration!

Anchor
webapp
webapp

Web application and tracker server

Install the following packages:

...

Anchor
storagenode
storagenode

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.

Anchor
database
database

Database server

Code Block
apt-get install postgresql-client-8.4

Look at the official Django database documentation.

Setting up your own sandbox

  1. apt-get install python-virtualenv
  2. virtualenv /mina/envs/lobber
  3. . /mina/envs/lobber/bin/activate
  4. pip install django django-extensions django-tagging orbited uuid django-evolution stomp.py werkzeug psycopg2
  5. git clone git@git.nordu.net:lobber.git (alt. git pull)
  6. cd lobber
  7. git checkout <branch>
  8. mkdir db
  9. mkdir logs
  10. cd src
  11. ./dev-django-admin.sh syncdb
  12. ln -s /mina/envs/lobber env
  13. ln -s env/lib/python2.6/site-packages/django/contrib/admin/media admin-media
  14. Edit paths in settings.py
  15. ./dev-django-admin.sh runserver_plus