Skip to content

newamerica-graphics/epp_varying_degrees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varying Degrees

Varying degrees for 2018 on, using Teddy and the data-viz-boilerplate. Each year has a branch named for that year.

2017 version: varying-degrees and varying-degrees-backend

Deployment

  • Make sure you have the AWS CLI configured properly on your machine. If you have Homebrew installed, run brew update && brew install awscli and then aws configure and finally aws configure set preview.cloudfront true
  • Make sure you have renamed your project in package.json.
  • Run npm run deploy
  • All deployments are cached by AWS cloudfront and available at https://data.newamerica.org/ and on s3 here.

Notes

  • React, ReactDOM, ReactRedux, and Redux are all globally scoped on newamerica.org, and defined as externals within this repo's webpack config. There is no need to install or bundle those dependencies if the graphic will exist exclusively on newamerica.org.

  • Critical styles from newamerica.org are included in the head. This includes all fonts and type styles, bootstrap columns, margins, and containers.

About

Varying Degrees for 2018 through 2025

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •