karideo/back
2020-04-08 14:35:16 +02: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] disable worker, it does not work 2020-03-10 23:00:37 +01:00
tools [DEV] check the file type before send 2020-04-08 14:35:16 +02:00
transfer_bdd/v0.0...v1.0 [DEV] last transfert vertion ... and after ==> remove ... 2020-03-10 21:48:35 +01:00
.gitignore [DEV] add config 2020-03-09 22:26:30 +01:00
config_sample.env [DEV] set more workers (100)psycopg2] correct exampel conf 2020-03-10 22:44:15 +01:00
docker-compose.yaml [DEV] update config methodologie 2020-03-10 22:32:47 +01:00
readme.md [DEV] update config methodologie 2020-03-10 22:32:47 +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

Create configuration:

cp config_sample.env config.env
# set your server IP in the hostname
vim config.env

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