/cupofdata.com

Marketing website for Cup of Data

Primary LanguageJavaScriptMIT LicenseMIT

cupofdata.com

node >= 8.x styled with prettier style: styled-components

The code base for the primary Cup of Data website.

Technical Decisions

  • We use the GatsbyJs static site generator.
  • Content (text, blog posts, etc.) are managed via the Netlify CMS admin panel as Markdown files.
  • The site is hosted on Netlify. Merges/pushes to master are automatically deployed. Pull requests against master will be built as deploy previews.

Development

  1. Fork this repo
  2. Clone the repo and cd into the repo directory
  3. Run yarn to install dependencies
  4. Run gatsby develop to start a local server

Production

  1. Add this repository to Deploy Settings
  2. Add gatsby build as build command
  3. Specify public as Publish directory
  4. Add master as Production branch

Environment Variables

Variable Name Required Default Value Description
GATSBY_ONBOARD_URL Yes null URL for the onboarding content.
GATSBY_BETAFORM_URL Yes null URL for the beta campaign.
SEGMENT_PROD_WRITE_KEY No null Segment API key for production.
SEGMENT_DEV_WRITE_KEY No null Segment API key for development.

Copyright

Copyright © 2018 Cup of Data. All rights reserved.

MIT licensed.