karideo/back
2020-03-02 23:12:14 +01:00
..
default_images [DEV] continue integration on the merge on real DB (take more time to transform my own db 2020-02-25 23:56:35 +01:00
src [DEV] update dynamique when modify 2020-03-02 23:12:14 +01:00
tools [DEV] better return value and better seek in file 2020-02-27 22:13:59 +01:00
transfer_bdd/v0.0...v1.0 [DEV] auto_create bdd when startup and update the sended automatic 2020-02-26 23:34:39 +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