karideo/back
2020-01-09 06:34:21 +01:00
..
src [DEV] update for first prod mode 2020-01-05 22:10:02 +01:00
tools [DEBUG] correct server adresse 2020-01-09 06:34:21 +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 [DEV] better interface 2020-01-02 22:43:06 +01:00
Dockerfile [DEV] try to correct angular and sanic 2020-01-03 21:45:49 +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