Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 1.38 KB

File metadata and controls

65 lines (53 loc) · 1.38 KB

VAPi Server

This project uses Motion to detect movement and to save a picture of that movement. Then receives, by websocket, the node-object-detection (Yolo) analysis with the objects detected in that picture. This information is saved in the database so it can be displayed to the user on the angular web interface.

Prerequisites

Getting started

Run MariaDB docker container

docker-compose -f mariadb/docker-compose.yml up -d

Run angular in development

cd angular
npm install
npm start	

Run Node.js server

npm install
npm start

Deployment

Run MariaDB docker container

docker-compose -f mariadb/docker-compose.yml up -d

Build angular files for deployment

cd angular && npm install && npm run deploy

Run Node.js server

npm install
npm start

Config Files

Database configurations

ormconfig.json

Geral configurations

config.json

Motion configurations

motion/motion.conf