No description
Find a file
2024-09-18 14:25:02 +01:00
etc update system integration and readme 2016-09-07 17:20:13 +02:00
oxdata update django 2024-09-18 14:25:02 +01: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 update django 2024-09-18 14:25:02 +01:00
requirements.txt update django 2024-09-18 14:25:02 +01:00

oxdata

django based api server

setup

apt-get install git ipython3 python3-venv

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

git clone https://git.0x2620.org/oxdata.git
cd oxdata
python3 -m venv --system-site-packages venv
./venv/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