This is an interactive heatmap for viewing New Orleans crime data.
Make sure you have:
- Ruby
- node.js (for installing frontend packages and running tests)
- Java runtime (for YUI compressor, which the asset pipeline is configured to use)
- Courage and honor
Install gems:
bundle install
Install Karma and Protractor for frontend testing:
npm install -g karma
npm install -g protractor
Install and run Bower:
npm install -g bower
bower install
Fetching and loading new data:
first you need the python requirements:
pip install -r requirements.txt
Then run the python script to pull and transform current data:
python nola_data_etl.py
Run the application:
bundle exec rackup
Run Karma(watch) for unit tests:
sh scripts/ng_unit.sh
Run Protractor for end-to-end tests:
webdriver-manager start
sh scripts/ng_e2e.sh
Scraped data from here: http://spotcrime.com/la/new+orleans