This app is intended to display the polling location within a user's ward/precinct, using their home address or current location. In addition, you can see a picture of the polling place, Google Maps directions, and a link to bring up directions in your browser or your mobile navigation application.
Data has been culled from Cambridge GIS open information sources, including polling location data and ward/precinct boundary data, all in GeoJSON format.
The cambridge_voting_locations application is developed with yeoman, based on top of node.js.
Within the cambridge_voting_locations
directory:
npm install -g yo # installs yeoman, grunt and bower automatically
npm install # installs local node dependencies
bower install # installs local client-side library dependencies
grunt server # starts server
grunt build # places a production copy of the app in the dist directory
It also requires Ruby/Compass to compile SASS stylesheets. With Ruby installed, install Compass via gem install compass
.
All development work is done within the app
directory. We're using Yeoman's deployment strategy. Before committing, please run grunt build
and commit any changes within the dist
directory as well.