cablegates/README

44 lines
1.2 KiB
Text

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