28 lines
763 B
Text
28 lines
763 B
Text
To setup a local instance of oxdata:
|
|
|
|
git clone https://git.0x2620.org/oxdata.git
|
|
cd oxdata
|
|
virtualenv --system-site-packages .
|
|
./bin/pip install -r requirements.txt
|
|
|
|
you need python, git, pip and virtualenv:
|
|
|
|
apt-get install python-setuptools git
|
|
east_install pip
|
|
pip install virtualenv
|
|
|
|
oxdata uses system python modules, so make sure you have
|
|
ipython and psycopg2 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 oxdata ox
|
|
sudo rabbitmqctl add_vhost /oxdata
|
|
sudo rabbitmqctl set_permissions -p /oxdata oxdata ".*" ".*" ".*"
|
|
|
|
|
|
Deploy:
|
|
adduser --disabled-password --disabled-login --home /srv/oxdata/ oxdata
|
|
|