In order to run Lobber you will need at least the following software.
Software
- python
- django (apt-get install python-django)
- the web application – lobber
- a database
- sqlite
or - postgresql
- a tracker
- opentracker (git://git.nordu.net/opentracker.git)
Installation
sudo apt-get install python-django python-libtorrent python-bittorrent python-django-doc python-egenix-mxdatetime python-egenix-mxtools python-pycurl python-openssl python-setuptools python-pysqlite2 python-django-tagging python-twisted
If this doesn't work, dosudo easy_install orbited
wget http://pypi.python.org/pypi/orbited/0.7.10 && tar xzf orbited-0.7.10.tar.gz && cd orbited-0.7.10 && python setup.py install
sudo easy_install stompservice
wget http://stomppy.googlecode.com/files/stomp.py-3.0.1-beta2.tar.gz
tar xzf stomp.py-3.0.1-beta2.tar.gz
cd stomp.py-3.0.1/
sudo python setup.py install
See Lobber development sandbox for more details on configuration.
Bootstrapping
Do this once:
cd lobber
mkdir db logs torrents
cd src
./dev-django-admin.sh syncdb
cat > orbited.cfg <<EOF
listen http://:9000
stomp://:61613
- -> localhost:61613
global
session.ping_interval = 300
user=www-datalogging
debug=STDERR,debug.log
info=STDERR,info.log
access=STDERR,info.log
warn=STDERR,error.log
error=STDERR,error.log#Don't enable debug by default
enabled.default=info,access,warn,error
EOForbited -c orbited.cfg
Starting up
cd lobber/src
./dev-django-admin.sh startapp share
Using, first time
- Go to http://localhost:8000/admin/ and log in as whatever admin user you created in the syncbd phase under Bootstrapping above.
- Create an ordinary account
- Log out