2009-10-09 15:20:54 +00:00
|
|
|
To setup a local instance of oxdata:
|
|
|
|
|
|
|
|
bzr branch http://code.0xdb.org/oxdata oxdata
|
|
|
|
cd oxdata
|
|
|
|
virtualenv .
|
|
|
|
pip -E . install -r requirements.txt
|
|
|
|
|
|
|
|
you need python, bazaar, pip and virtualenv:
|
|
|
|
|
|
|
|
apt-get install python-setuptools bzr
|
|
|
|
east_install pip
|
|
|
|
pip install virtualenv
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2010-08-08 12:39:37 +00:00
|
|
|
Install rabbitmq and carrot:
|
|
|
|
sudo apt-get install rabbitmq-server
|
|
|
|
|
|
|
|
sudo rabbitmqctl add_user oxdata ox
|
|
|
|
sudo rabbitmqctl add_vhost /oxdata
|
|
|
|
sudo rabbitmqctl set_permissions -p /oxdata oxdata ".*" ".*" ".*"
|
|
|
|
|
|
|
|
|
2010-09-17 17:26:47 +00:00
|
|
|
Deploy:
|
|
|
|
adduser --disabled-password --disabled-login --home /srv/oxdata/ oxdata
|
|
|
|
|