oxdata/README.md
2016-09-07 17:22:21 +02:00

670 B

oxdata

django based api server

setup

apt-get install virtualenv git ipython3

apt-get install python3-pil python3-psycopg2 \
    python3-lxml python3-requests python3-six

git clone https://git.0x2620.org/oxdata.git
cd oxdata
virtualenv -p /usr/bin/python3 --system-site-packages .
./bin/pip install -r requirements.txt

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