Gatsby front end for Third and Grove's Drupal 8 backend.
git clone git@github.com:thirdandgrove/thirdandgrove-com-gatsby.git
cd thirdandgrove-com-gatsby
yarn
in the project root.cp sample.env .env
and then modify your new .env
file with the appropriate credentials from the TAGv5 Gatsby/CMS
entry in 1Password.yarn start
.yarn build
.public
folder of the project root.yarn start
yarn test
.yarn cypress
instead.This website is built with NodeJS. It uses the React-based open source framework Gatsby. This framework generates a static site.
This website uses Netlify for deployment. Netlify's platform performs automated builds of the static site. It also links to GIT workflow. When a pull request is created it triggers an automated build of the static site that is pinned to the code in that Pull Request.
To deploy code to https://www.thirdandgrove.com/ a content editor has to either trigger a build after a content change or a developer has to push code to the master branch (whether that is a direct commit to master or merging a pull request).
Currently build times range from 45 min to 1 hr.