No description
Find a file
2019-08-05 13:48:33 +02:00
etc update system integration and readme 2016-09-07 17:20:13 +02:00
oxdata dont pass film_count 2019-08-05 13:48:33 +02:00
.editorconfig use .editorconfig 2018-07-03 18:54:06 +02:00
.gitignore migrate to django 1.9 2016-03-06 16:05:46 +05:30
README.md fixme 2016-09-07 17:22:21 +02:00
requirements.txt update dependencies 2016-09-07 16:53:56 +02:00

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