Shinobi a free and open source CCTV and NVR solution that is capable of recording IP as well as local camera footage. Shinobi is very easy to use even for novice users. If you want to test installing and using Shinobi then this post is for you.
This post will present a step by step guide on how to install Shinobi for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of the web application on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.
First, you’ll need to sign-up for the free version of Cloud9.
After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “add workspace” plus sign.
You’ll be directed to a new window where you should set up your workspace, select the blank option.
In the terminal type the following command to create a directory for Shinobi;
Now we need to change directory to the newly created folder, so type the following command in the terminal;
Now, we need to install Shinobi, to do so just copy the following command to your terminal.
sudo npm install shinobi
We need to move some of the node modules, to do so copy and paste the following command in your terminal.
mv node_modules/shinobi/* .
Finally start to run Shinobi using the following command, please note that it will take a while and you’ll be asked many questions just type “y” for yes and create a password for the database.
sudo npm start
After the installation is completed, navigate to the top menu and select run with >> Node.js (default).
Now, just click on the “Run Project” arrow, then click on the “Preview”, the installation window will appear in a browser like a side-window.
You’ll then be directed to the login window, just use Username : email@example.com and Password : password.
Finally you’ll be directed to your portal where you can add and control your cameras.
Congratulations, now you have a fully functional installation of Shinobi on Cloud9. But, remember this installation should be for development only and not as a production copy.