Skip to content

A step-by-step guide to publishing a simple news application.

Notifications You must be signed in to change notification settings

stanfordjournalism/first-news-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First news app - Stanford Computational Journalism template

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:

Requirements

  • 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

Highly suggested

Getting started

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 git@github.com:YOUR_USERNAME/first-news-app.git

Get it running

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/

Background material regarding L.A. riots

Interesting readings related to the Los Angeles Riots

Other readings about death and data

http://www.nytimes.com/1992/05/17/us/after-the-riots-of-58-riot-deaths-50-have-been-ruled-homicides.html

Other homicide databases

About

A step-by-step guide to publishing a simple news application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 97.8%
  • Python 1.3%
  • CSS 0.9%