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-02-16 12:41:57 +00:00
|
|
|
|
|
|
|
Apache setup:
|
|
|
|
sudo apt-get install libapache2-mod-wsgi libapache2-mod-xsendfile
|