2009-10-09 15:20:54 +00:00
|
|
|
To setup a local instance of oxdata:
|
|
|
|
|
2015-11-15 16:33:15 +00:00
|
|
|
git clone https://git.0x2620.org/oxdata.git
|
2009-10-09 15:20:54 +00:00
|
|
|
cd oxdata
|
2013-02-28 10:00:07 +00:00
|
|
|
virtualenv --system-site-packages .
|
|
|
|
./bin/pip install -r requirements.txt
|
2009-10-09 15:20:54 +00:00
|
|
|
|
2015-11-15 16:33:15 +00:00
|
|
|
you need python, git, pip and virtualenv:
|
2009-10-09 15:20:54 +00:00
|
|
|
|
2015-11-15 16:33:15 +00:00
|
|
|
apt-get install python-setuptools git
|
2009-10-09 15:20:54 +00:00
|
|
|
east_install pip
|
|
|
|
pip install virtualenv
|
|
|
|
|
2015-11-15 16:33:15 +00:00
|
|
|
oxdata uses system python modules, so make sure you have
|
|
|
|
ipython and psycopg2 installed via apt-get/pip/easy_install
|
|
|
|
in your system path.
|
2009-10-09 15:20:54 +00:00
|
|
|
|
2010-08-08 12:39:37 +00:00
|
|
|
Install rabbitmq and carrot:
|
|
|
|
sudo apt-get install rabbitmq-server
|
2015-11-15 16:33:15 +00:00
|
|
|
|
2010-08-08 12:39:37 +00:00
|
|
|
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
|
|
|
|
|