Shinobi

Install

Install nodejs … Install mariadb or mysql

Clone git

git clone --depth 1 https://github.com/ShinobiCCTV/Shinobi.git shinobi
cd shinobi
npm i

Fill database …

Start once

pm2 start camera.js
pm2 start cron.js

Start as daemon

pm2 startup

Update

git pull
pm2 restart camera
pm2 restart cron