No description
Find a file
2010-06-24 15:18:33 +02:00
apache make find api more jsonic 2010-02-22 14:55:29 +05:30
etc/init init scripts and name 2010-04-29 14:29:13 +03:00
fixtures foo 2009-06-08 18:08:59 +02:00
pandora app is called pandora now 2010-06-24 15:18:33 +02:00
wsgi init scripts and name 2010-04-29 14:29:13 +03:00
.bzrignore random commit 2009-12-31 16:04:32 +01:00
README serve frames and videos with X-Sendfile header 2010-02-16 18:11:57 +05:30
requirements.txt add transmission interface 2010-06-24 15:11:34 +02:00

To setup a local instance of pandora:

    bzr branch http://code.0xdb.org/pandora pandora
    cd pandora
    virtualenv .
    pip -E . install -r requirements.txt


you need python, bazaar, pip and virtualenv:

    apt-get install python-setuptools bzr
    easy_install pip
    pip install virtualenv

also it uses system python moduels, so make sure you have
 ipython, dbmodule(psycopg2, python-mysqldb,..)
installed via apt-get/pip/easy_install in your system path.

Install rabbitmq and carrot:
    sudo apt-get install rabbitmq-server
    
    sudo rabbitmqctl add_user pandora password
    sudo rabbitmqctl add_vhost /pandora
    sudo rabbitmqctl set_permissions -p /pandora pandora "^pandora-.*" ".*" ".*"


    update BROKER_* settings in local_settings.py:

Development:
    we are using django, http://docs.djangoproject.com/en/dev/
    communication between webserver and background tasks is done via rabbitmq
    http://github.com/ask/carrot/ for more info on the lib used to communicate


Apache setup:
    sudo apt-get install libapache2-mod-wsgi libapache2-mod-xsendfile