No description
Find a file
2010-11-23 11:30:03 +01:00
apache make find api more jsonic 2010-02-22 14:55:29 +05:30
etc/init use celery 2010-06-25 13:53:57 +02:00
fixtures foo 2009-06-08 18:08:59 +02:00
nginx_gunicorn gunicorn/nginx 2010-11-11 23:52:03 +01:00
pandora add some text 2010-11-23 11:30:03 +01:00
static use site.json 2010-11-06 17:18:12 +01: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 add encodingProfile api call, minor fixes 2010-11-15 20:15:52 +01:00
requirements.txt use ox.django, drop python-oxdjango, add Bin/Event/Place 2010-11-23 10:53:12 +01:00

To setup a local instance of pandora:

    bzr branch http://code.0x2620.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
    apt-get install python-dev python-imaging python-numpy

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 box
    sudo rabbitmqctl add_vhost /pandora
    sudo rabbitmqctl set_permissions -p /pandora pandora ".*" ".*" ".*"


    update BROKER_* settings in local_settings.py:

Development:
    we are using django, http://docs.djangoproject.com/en/dev/
    
Nginx setup:
    sudo apt-get install nginx 

or if you use apache:
    sudo apt-get install libapache2-mod-xsendfile

add pandora repository:
    sudo apt-get install python-software-properties   
    sudo add-apt-repository ppa:j/pandora
    sudo add-apt-repository ppa:gstreamer-developers/ppa
    sudo apt-get update
    sudo apt-get install oxtools mkvtoolnix

H264:
    install ffmpeg with x264 enabled, install qt-faststart from (ffmpeg/tools)
    set VIDEO_H264 = True in local_settings.py