CPD Zones is a small web application showing the different Chattanooga Police Department zones. You can use it to figure out which zone your house is in, and which officers are the main contacts for your zone.
It is based off of a project started by @seabre, @kylegordy, and @juzten. You can see the original project here.
This project uses middleman. You will need a few things to set that up.
At least Ruby 2.2 and Bundler.
You first need to install the project's Ruby dependencies. From the root directory, run:
bundle install
To run the project:
bundle exec middleman
The site will now be available at http://localhost:4567
. Middleman will watch for changes in the project and reload them.
Once the project is setup, you can now deploy the site if you wish. In order to deploy, run bundle exec middleman deploy --build-before
. If you have direct commit access to this repo, it should just work.
Just note that whatever is on your local machine at your current git branch will be deployed. That said, be mindful when you run deployment.
From time to time you will need to update officer informaiton in the application. This most often happend when there are promotions or reassignments within the Chattanooga Police Department. The steps below will show you how to update the officer information when these changes occur.