GithubHelp home page GithubHelp logo

isabella232 / address-iq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeforamerica/address-iq

0.0 0.0 0.0 434 KB

Reducing 911 calls and solving problems, one address at a time.

Home Page: http://www.bit.ly/lbcvid

Python 69.59% CSS 8.35% JavaScript 3.61% Mako 0.29% PLpgSQL 0.99% HTML 17.17%

address-iq's Introduction

AddressIQ

AddressIQ is a web application that analyzes city data to help identify addresses with a high number of 911 calls and support finding cost-effective ways to provide those addresses with better care and resources.

View the AddressIQ User Manual for a walkthrough of how the app works and what it looks like.

Read AddressIQ 101 Documentation for more in-depth background of the problem AddressIQ is trying to solve and information about health hot spotting.

Read our End of Year Report for the most in-depth coverage of our fellowship journey and how we came to develop AddressIQ.

This project was developed by Code for America fellows (@dget, @fureigh, and @mollymcleod) for Long Beach, California.

For more context, watch our five-minute talk from the 2014 Code for America Summit.

What this data can and can't tell us

The actual data we analyzed is not included in this repo. This data can't tell us about individuals, it can only tell us about addresses. The development and any findings must be framed accordingly.

Installation

This is a Python Flask application. To install Python in your local development environment, follow the directions for Python & Virtualenv. The file Procfile contains the command for running the app; you can run it directly:

$ python app.py

...or ask Honcho to run it for you:

$ pip install honcho
$ honcho start

Note that you'll need the following environment variables set:

  • APP_SETTINGS: you probably want this to equal Config.DevelopmentConfig
  • SECRET_KEY: Follow the instructions here under "How to generate good secret keys"
  • DATABASE_URI: This is a string representing your database's URI.
  • MAINTENANCE_MODE: Setting this to "on" will activate maintenance mode, directing all traffic to a "down for maintenance" page.

To keep these set regularly, you might want to either create a shell script or use virtualenvwrapper and a postactivate script, as described here.

If using Aptible, here's the command to run to activate maintenance mode: aptible config:set MAINTENANCE_MODE=on

Testing

To view on your local machine:

  1. Type this to activate the virtual environment: source ENV/bin/activate
  2. Type this to activate the framework: python app.py
  3. Open your browser to http://localhost:5000

address-iq's People

Contributors

dget avatar fureigh avatar ondrae avatar mollymcleod avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.