An iteration from the First News App tutorial published on ireapps/first-news-app. Mostly, it's the same app but simplified of some software engineering conventions (test.py
, Travis, using FrozenFlask to generate a static app) and the tutorial documentation that was found in /docs
It also contains a few boilerplate files needed to get started on Heroku:
runtime.txt
- specifies the version of Python to use other than the default of 2.7.x. Heroku officially only supports 3.6.1, but even though this lesson was written using Python 3.5, you shouldn't have any compatibility issues...Procfile
- specifies the command Heroku should run to get the app going, i.e.python app.py
- Have Python 3.x installed (preferably via Anaconda)
- Have Flask 0.11+ (this comes with Anaconda)
- Be able to access your operating system's command-line interface to run
python app.py
- Install a text editor designed for programming, such as Github's Atom Text Editor.
- Have an account on Heroku.
Fork this repo to your Github account: https://github.com/stanfordjournalism/first-news-app
You should basically have created a new repo called:
https://github.com/your_username/first-news-app
Then clone this repo with SSH using your system's command-line:
$ git clone [email protected]:YOUR_USERNAME/first-news-app.git
When you run the git clone
command, the repo is downloaded as a subfolder relative to your current working directory.
To change into the directory:
$ cd first-news-app
If Python 3 is installed, along with Flask, and everything else:
$ python app.py
Further reading about Flask can be found here: http://www.compjour.org/lessons/flask-single-page/hello-tiny-flask-app/
-
Widespread looting, assault, arson, and killings occurred during the riots, and estimates of property damage were over $1 billion. Order was only restored after members of the California Army National Guard, the 7th Infantry Division, and the 1st Marine Division were called in to stop the rioting when local police could not control the situation. In total, 58 people were killed during the riots, more than 2,000 people were injured, and more than 11,000 were arrested. LAPD chief of police Daryl Gates, who had already announced his resignation by the time of the riots, took much of the institutional blame.
-
[Youngest victim of the LA Riots: Baby born with bullet wound] (http://www.foxla.com/news/local-news/249152966-story)
-
For 22 murder victims, LA Riots leave legacy of justice eluded
-
Deaths in the 1992 LA Riots - Tracked by Professor Pamela Oliver of University of Wisconsin
- Coroner Is Said to Rule James Brady’s Death a Homicide, 33 Years After a Shooting
- Video: Why was James Brady's death ruled a homicide?
- Future of Homicide Watch D.C. uncertain as Amico joins Boston Globe
- The Memory Keeper: Homicide Watch DC
- Reporting from analytics: Example
- Online Investigative journalism: more on reporting through analytics
- For 7 years, L.A. Times’ Homicide Report has wrested stories from grim data
- 10-Year-Old Shames the Globe into Updating Its Database of Murder Victims
- https://projects.jsonline.com/apps/Milwaukee-Homicide-Database/
- Chicago Sun-Times http://homicides.suntimes.com/
- WISH-TV http://wishtv.com/news/homicide-tracker/
- Our World in Data https://ourworldindata.org/homicides/
- Homicide Watch Boston http://boston.homicidewatch.org/
- Murder Data http://www.murderdata.org/
- Philly Crime Mapper https://www.phillypolice.com/crime-maps-stats/
- https://mic.com/unerased/database
- http://newsinteractive.post-gazette.com/homicide/
- https://www.nytimes.com/interactive/projects/crime/homicides/map
- http://rochester.nydatabases.com/database/rochester-homicides