Skip to content

amitness/crimecontrol

Repository files navigation

crime-tracker

Screenshot

A web app that tracks crime happening in city in real time.

Backstory

Developed during 40 hour Leapfrog Hackathon at KU IT Meet 2017.

Slides for the presentation can be viewed here.

Built With

Local Development

To install these interactives on your local machine:

  • Clone this repository to your local machine.
  • In the directory where you placed the cloned repo, create a virtual environment for Python and project dependencies in a directory called "venv":
pip install virtualenv 
virtualenv venv
  • Activate your virtual environment
source venv/bin/activate
  • Install Flask and all required packages:
pip install -r requirements.txt
  • Fire up your local webserver:
python app.py
  • In a web browser, go to localhost:5000, and you should see the development site! Please not that the terminal window you are running the development site in must stay open while you are using the site.
  • When daily development is complete, terminate the local web server by typing CONTROL + C. Also deactivate the virtual environment:
deactivate

Authors

License

This project is licensed under the GNU License - see the LICENSE file for details