KaruMediaServer/api
2016-11-14 11:23:00 +02:00
..
karumedia For some reason slots are a bad idea 2016-11-01 23:17:23 +02:00
README.md Add rest api 2016-11-01 22:26:29 +02:00
requirements.txt Add rest api 2016-11-01 22:26:29 +02:00
uwsgi.ini server changes 2016-11-14 11:23:00 +02:00
wsgi.py Add standalone server to rest api server 2016-11-01 23:15:26 +02:00

API Karu Media

This is a api writen in python for Karu Media storage server

How to set it up?

First you need Python 3.4 or newer and latest uwsgi installed in your system

For Debian you have to install those pacakges

sudo apt-get install python3 python3-pip python3-venv uwsgi uwsgi-plugin-python3 python3-uwsgidecorators

And then you can just run those commands

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

And you can run it like so

uwsgi --ini uwsgi.ini:dev