2010-02-16 10:22:34 +00:00
|
|
|
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
|
2010-02-16 10:22:34 +00:00
|
|
|
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
|
2010-02-16 10:22:34 +00:00
|
|
|
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
|
|
|
|
2010-11-14 21:49:16 +00:00
|
|
|
Nginx setup:
|
|
|
|
sudo apt-get install nginx
|
2010-02-16 12:41:57 +00:00
|
|
|
|
2010-11-14 21:49:16 +00:00
|
|
|
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
|
2010-11-15 19:15:52 +00:00
|
|
|
|
|
|
|
H264:
|
|
|
|
install ffmpeg with x264 enabled, install qt-faststart from (ffmpeg/tools)
|
|
|
|
set VIDEO_H264 = True in local_settings.py
|
|
|
|
|