Flyright's website is built with Gatsby.
This site is deployed at https://flyright.co.
The content for this site comes from Contentful. When a new entry is published or unpublished on Contentful, it will trigger an automatic rebuild of the site on Netlify. This also occurs when code is pushed to master on Github.
** Note - Use yarn with this project to avoid dependency resolution issues in Gatsby plugins.
git clone https://github.com/flyright-co/flyright-website.gitcd flyright-websiteyarn installcp .env.example .envto create a .env file. Add the secret API keys from Contentful to this file.npm run develop— Gatsby will start a hot-reloading development environment accessible at localhost:8000
- Significant dependency resolution issues with the
sharppackage in Gatsby's plugins forcenpm installs to fail. Solution is to useyarnand force resolvesharp@0.22.1. References:
