This is an interactive presentation graphic built using the dmninteractives
Yeoman generator.
brew install node
npm install -g gulp-cli
npm install
to install development toolinggulp
to open a local development serversrc/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 to dist/data/*
by Gulpsrc/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, transpiledImportant 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