Skip to content

newamericafoundation/varying-degrees

Repository files navigation

Varying Degrees

Client repository for New America's Varying Degrees project. Backend code lives here

Getting Started

  1. clone repo
  2. run npm install

Running Locally

The project can be run locally by running the npm run start-dev script.
The backend must also be running locally in order to support data fetches. Alternatively, the dbPath can be changed to the production backend that is hosted on heroku.

Creating a Production Build

Running npm run build will emit two files (varying_degrees-submodule.js and varyingdegrees-emebed.js and upload them to the appropriate buckets in S3.

The embed script is used to power the https://varyingdegrees.newamerica.org/, which is used for creating iframes for individual questions/topics from the survey.

The submodule script is added into the varying degrees bundled script in the data-projects repo and is used to include chart modules directly into the org website's data viz block template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published