Skip to content

DallasMorningNews/interactive-furniture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interactive_interactive-furniture

This is an interactive presentation graphic built using the dmninteractives Yeoman generator.

Requirements

  • Node - brew install node
  • Gulp - npm install -g gulp-cli

Local development

Installation

  1. npm install to install development tooling
  2. gulp to open a local development server

What's inside

  • src/index.html - HTML markup, which gets processed by Nunjucks
  • src/js/*.js - Graphic scripts, written in ES2015 (it'll be transpiled with Babel)
  • src/scss/*.scss - Graphic styles in SCSS
  • src/data/* - files that should be both published and committed to the repository (probably CSVs, JSON, etc.); copied to dist/data/* by Gulp
  • src/assets/* - assets (probably media assets, such as Illustrator files) that don’t get copied by Gulp but are tracked by git
  • dist/* - All of the above, transpiled

Important caveat: Video, audio and ZIP files are ignored by git regardless of where they're saved. You'll need to manually alter the .gitignore file to have them committed to Github.

Publishing

gulp publish will upload your dist/ folder to the 2019/interactive-furniture/ folder on our interactives S3 bucket.

Copyright

©2019 The Dallas Morning News

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published