Install nodejs … Install mariadb or mysql
Clone git
git clone -b dev --depth 1 https://github.com/ShinobiCCTV/Shinobi.git shinobi cd shinobi npm i
Fill database …
mysql < sql/database.sql mysql < sql/user.sql mysql ccio < sql/framework.sql mysql ccio < sql/default_data.sql
Start once
pm2 start camera.js pm2 start cron.js
Start as daemon
pm2 startup
git pull pm2 restart camera pm2 restart cron