Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.93 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.93 KB

Stories in Ready Build Status

Copcast Admin

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

Installation

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 gulp@3.9.0
  npm install -g karma@0.13.3
  npm install phantomjs@1.9.17
  
  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.