The code base for the primary Cup of Data website.
- 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.
- Fork this repo
- Clone the repo and
cdinto the repo directory - Run
yarnto install dependencies - Run
gatsby developto start a local server
- Add this repository to
Deploy Settings - Add
gatsby buildas build command - Specify
publicasPublish directory - Add
masterasProduction branch
| 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 © 2018 Cup of Data. All rights reserved.
MIT licensed.