680 B
680 B
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