mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
| .. | ||
| assets | ||
| views | ||
| handler.js | ||
| README.md | ||
Boilerplate Template
This template is based on the "Now UI Dashboard". https://www.creative-tim.com/product/now-ui-dashboard
-
You must copy the folder named
boilerplateto your Shinobi directory in theweb/templatesfolder. If you do not have a templates folder then you must create one. -
Create the
renderPathsobject insideconf.json. If it already exists then remove the old one and place this one.
"renderPaths": {
"home" : "templates/boilerplate/views/index",
"handler" : "templates/boilerplate/handler"
}
- Your
conf.jsonfile may look like this afterward.
{
"port": 8080,
"addStorage": [
{
"name": "second",
"path": "__DIR__/videos2"
}
],
"db": {
"host": "127.0.0.1",
"user": "majesticflame",
"password": "",
"database": "ccio",
"port": 3306
},
"mail": {
"service": "gmail",
"auth": {
"user": "your_email@gmail.com",
"pass": "your_password_or_app_specific_password"
}
},
"cron": {
"key": "change_this_to_something_very_random__just_anything_other_than_this"
},
"pluginKeys": {
"Motion": "change_this_to_something_very_random____make_sure_to_match__/plugins/motion/conf.json",
"OpenCV": "change_this_to_something_very_random____make_sure_to_match__/plugins/opencv/conf.json",
},
"renderPaths": {
"home" : "templates/boilerplate/views/index",
"handler" : "templates/boilerplate/handler"
}
}
- Restart Shinobi
pm2 restart camera