Copcast Admin is part of the Copcast solution to help improve police accountability using mobile phones to record the video and the audio and register their GPS location.
Copcast Admin is developed with Angularjs
First, install Node.js in your development machine. We are using, currently, version 0.10.40.
With node installed, install Bower, Gulp, Karma and PhantomJs (the last two, to run the tests). And then, run npm install and bower install for the packages in the root of the project.
npm install -g bower
npm install -g [email protected]
npm install -g [email protected]
npm install [email protected]
npm install
bower install
Now you have Copcast Admin installed. To connect it with the server, you must have installed Copcast Server. If you did not install it yet, this is the time!
Open the file src/app/app.js and make sure that the constant ServerUrl points to localhost:<COPCAST_SERVER_PORT>
angular.module('copcastAdminApp').constant('ServerUrl', 'http://localhost:3000');
And to finally run the app:
gulp serve
To test copcast completely, you must have also the Copcast Android app installed in an Android phone and connected to the Copcast Server.
Copcast Admin is developed by Instituto Igarapé as part of the Smart Policing Project.