KaruMediaServer/api
2016-11-14 11:23:04 +02:00
..
karumedia Add yt_trailer_code field to movies 2016-11-14 11:20:15 +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