This is an interactive presentation graphic built using the dmninteractives
Yeoman generator.
- Node -
brew install node
- Gulp -
npm install -g gulp-cli
npm install
to install development toolinggulp
to open a local development server
src/index.html
- HTML markup, which gets processed by Nunjuckssrc/js/*.js
- Graphic scripts, written in ES2015 (it'll be transpiled with Babel)src/scss/*.scss
- Graphic styles in SCSSsrc/data/*
- files that should be both published and committed to the repository (probably CSVs, JSON, etc.); copied todist/data/*
by Gulpsrc/assets/*
- assets (probably media assets, such as Illustrator files) that don’t get copied by Gulp but are tracked bygit
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.
gulp publish
will upload your dist/
folder to the 2019/interactive-furniture/
folder on our interactives S3 bucket.
©2019 The Dallas Morning News