Skip to content
Fire and rain flask app
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
foo
static
templates
.gitignore
Procfile
README.md
app.py
requirements.txt
runtime.txt

README.md

Flask App Fire and Rain

A quickie Python 3.x Flask app that mashes data from Google Maps Geocoding, Instagram, Weather Underground, and the USGS Earthquake Hazards Program. A modification of Ben Welsh's First News App with Flask. Front-end styles courtesy of Bootstrap 3.

App built by Dan Nguyen for Stanford's Computational Journalism class. It's called "Fire and Rain" but there's no wildfires API, so it's just earthquakes and weather and Instagram. It is also chock-full for horrible design decisions and spaghetti code and laughable test suite and it uses Python for what clearly should be front-end AJAX code.

It is currently deployed on Heroku at: sleepy-mesa-7300.herokuapp.com/

Setup

Basically, follow the steps outlined here: Getting Started with Python on Heroku (devcenter.heroku.com)

Once the app is created on Heroku, you have to add a couple of keys to the Heroku server:

heroku config:set WEATHER_UNDERGROUND_KEY=YOUR_WU_KEY
heroku config:set INSTAGRAM_TOKEN=YOUR_INSTAGRAM_KEY
You can’t perform that action at this time.