pandora/README

50 lines
1.4 KiB
Text
Raw Normal View History

To setup a local instance of pandora:
2009-12-31 15:04:32 +00:00
2010-07-03 11:14:16 +00:00
bzr branch http://code.0x2620.org/pandora pandora
cd pandora
2009-12-31 15:04:32 +00:00
virtualenv .
pip -E . install -r requirements.txt
you need python, bazaar, pip and virtualenv:
apt-get install python-setuptools bzr
2010-01-16 20:49:44 +00:00
easy_install pip
2009-12-31 15:04:32 +00:00
pip install virtualenv
2010-09-06 21:19:59 +00:00
apt-get install python-dev python-imaging python-numpy
2009-12-31 15:04:32 +00:00
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
2010-06-25 11:53:57 +00:00
sudo rabbitmqctl add_user pandora box
sudo rabbitmqctl add_vhost /pandora
2010-06-25 11:53:57 +00:00
sudo rabbitmqctl set_permissions -p /pandora pandora ".*" ".*" ".*"
2009-12-31 15:04:32 +00:00
update BROKER_* settings in local_settings.py:
Development:
we are using django, http://docs.djangoproject.com/en/dev/
2010-07-03 11:14:16 +00:00
Nginx setup:
sudo apt-get install nginx
or if you use apache:
sudo apt-get install libapache2-mod-xsendfile
2010-09-07 13:08:23 +00:00
add pandora repository:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:j/pandora
2010-09-14 17:12:26 +00:00
sudo add-apt-repository ppa:gstreamer-developers/ppa
2010-09-07 13:08:23 +00:00
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