KaruMediaServer/api
2016-11-01 23:11:39 +02:00
..
karumedia Ignore broken runtime variable in metadata 2016-11-01 23:11:39 +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 Add rest api 2016-11-01 22:26:29 +02:00
wsgi.py Add rest api 2016-11-01 22:26:29 +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