In order to run Lobber you will need at least the following software.
This example is for running Lobber on localhost.
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 sqlite3 sqlite3-doc
If this doesn't work, do
sudo 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
cvs -d :pserver:cvs@cvs.fefe.de:/cvs login
cvs -d :pserver:cvs@cvs.fefe.de:/cvs co libowfat
cd libowfat && make && cd ..git clone git://git.nordu.net/opentracker.git
cd opentracker && make && cd ..
See Lobber development sandbox for more details on configuration.
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
EOF
mkdir /tmp/tracker
cat >> opentracker.conf << EOF
listen.tcp_udp 0.0.0.0:4711
access.stats_path stats-xyzzy
tracker.rootdir /tmp/tracker
EOF
cd lobber/src
./dev-django-admin.sh runserver
opentracker/opentracker -f opentracker.conf -a http://localhost:8000/torrent/exists/
orbited -c orbited.cfg
btmakemetafile <FILE> http://localhost:4711/announce
Django model classes are represented as tables in the database.
When members of model classes are added, removed or changed, the database needs to be recreated.
There's probably a way of keeping all the data too but this does not save any data. Beware: