This template will serve as a starting point for embedded data visualization projects for the Miami Herald using Carto.
Based off of Gulp Starter.
Extra additions include:
git clone https://github.com/MiamiHerald/data-viz_carto-template.git MyApp
cd MyApp
npm install
If you get an error within ./src/javascripts/app.js
, then you need to switch your Node version to 5.12.0
or earlier using nvm and run npm rebuild node-sass
as there is an issue with Node 6+. See #302.
To remove git and add start your own repo run rm -rf .git && git init
npm start
Your browser should open with http://localhost:3000, browsersync should be active and you should be ready to go 🚀.
email: cwilliams at miamiherald dot com 👍