/cpd-zones

Helps Chattanoogans find which CPD zone they live in.

Primary LanguagePythonMIT LicenseMIT

CPD Zones Flask App

This application is meant to help Chattanoogans find which CPD zone they live in.

Type in your address in the application and it will display:

  • The CPD zone you live in
  • The CPD Captain that is assigned to your zone.
  • The CPD Lieutenant that is assigned to your zone.
  • The contact information (e-mail, phone) for the CPD Captain and Lieutenant so that they can be contacted for non-emergencies.

Requirements

Installation

# Clone repo and cd to repo
git clone git@github.com:openchattanooga/cpd-zones.git cpd-zones && cd cpd-zones

# Create virtual environment
virtualenv env

# Activate virtual environment
. env/bin/activate

# Install project dependencies
pip install -r requirements.txt

# Run migrations
python app.py db upgrade

# Load Data (also flushes database)
python app.py reset_data

# Run project
python app.py runserver

# Open web browser to localhost:5000
open http://localhost:5000

Contribute

Support

If you are having issues, please let us know!

License

The project is licensed under the MIT license. See LICENSE.md for more details."