Skip to content

This collaborative project pulled together a compelling narrative about the 1968 Chicago riots and their lasting impact on certain South Side neighborhoods. I worked with reporters, photo editors and my graphics colleagues to combine lots of visual and even an audio element to craft the most impactful presentation possible.

Notifications You must be signed in to change notification settings

ryanbmarx/chicago-mlk-riots-anniversary

Repository files navigation

50th Anniversary of the Chicago MLK Riots

A Tarbell project.

CHEAT SHEET

  • To pull changes to blueprint, from project root, run git submodule update --init --recursive --remote
  • To push changes to the project PLUS changes to blueprint, run git push --recurse-submodules=on-demand

Assumptions

Custom configuration

DEFAULT_CONTEXT['OMNITURE']

This project uses python-tribune-omniture to render the Omniture <script> tags for the Tribune's analytics. You'll need to configure the dictionary named OMNITURE in the DEFAULT_CONTEXT dictionary in your tarbell_config.py:

DEFAULT_CONTEXT = {
    'name': 'lead',
    'title': 'Lead',
    'analytics_path': '',
    'OMNITURE': {
        'domain': 'chicagotribune.com',
        'sitename': 'Chicago Tribune',
        'section': 'news',
        'subsection': 'watchdog',
        'subsubsection': '',
        'type': 'dataproject',
    },
}

Building front-end assets

This project uses npm scripts with a little help from Grunt to build front-end assets.

To compile CSS and JavaScript for this project, first install the build tool depenencies:

npm install

When you run:

npm run build    

npm will compile sass/styles.scss into css/styles.css and bundle/minify js/src/app.js into js/app.min.js.

If you want to recompile as you develop, run:

npm run build && npm run watch

The blueprint simply sets up the the build tools to generate styles.css and js/app.min.js, you'll have to explicitly update your templates to point to these generated files. The reason for this is to make you think about whether you're actually going to use an external CSS or JavaScript file and avoid a request for an empty file if you don't end up putting anything in your custom stylesheet or JavaScript file.

To add styles.css, add this to your template file (likely, index.html):

<link rel="stylesheet" href="css/styles.css">

To add app.min.js to your template file:

<script src="js/app.min.js"></script>

About

This collaborative project pulled together a compelling narrative about the 1968 Chicago riots and their lasting impact on certain South Side neighborhoods. I worked with reporters, photo editors and my graphics colleagues to combine lots of visual and even an audio element to craft the most impactful presentation possible.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published