karideo/back
2020-02-21 22:55:09 +01:00
..
src [DEV] update checker 2020-02-21 22:54:58 +01:00
tools [DEV] update the sender 2020-02-21 22:55:09 +01:00
transfer_bdd/v0.0...v1.0 [DEV] migration db done 2020-02-20 22:53:17 +01:00
.gitignore [DEV] basic usable version with use condition (webm or mkv(h264+opus)) 2019-12-27 23:22:28 +01:00
docker-compose.yaml feat: transfer_bdd to postgres 2020-02-15 09:08:40 +01:00
readme.md [DEV] add basic backend 2019-12-21 21:52:26 +01:00

REST video API

REST API for video streaming for personal web / application interface

Download the project

simply download the application:

mkdir WORKSPACE & cd $_
git clone http://xxx/HeeroYui/rest_video.git restvideo
cd rest_video

Note: It is important to remove - and _ becose some docker remove these element in the network name (like ubuntu ...) Note: The networkname of a docker compose is thefoldername_default

Run the application

Start the application:

docker-compose up -d

Stop the application:

docker-compose down

Restart the application (on the fly):

docker-compose up -d --force-recreate --build

Run the application (debug)

before the first run:

cp -r data_base data
./src/app_video.py

or

SANIC_REST_PORT=15080 ./src/app_video.py