Gatsby front end for Third and Grove's Drupal 8 backend.
- Node (10.x LTS at time of writing)
- Yarn
- Clone this repository:
git clone [email protected]:thirdandgrove/thirdandgrove-com-gatsby.git
- Change directories into the project root:
cd thirdandgrove-com-gatsby
- Run
yarn
in the project root. - Run
cp sample.env .env
and then modify your new.env
file with the appropriate credentials from theTAGv5 Gatsby/CMS
entry in 1Password.
- In the root of the project, run
yarn start
. - This will perform the initial build and then launch your browser to your local site (the first time you do this, it may take a few minutes).
- Changing files in this state will also hot reload the files
- In the root of the project, run
yarn build
. - The site will be built into the
public
folder of the project root.
- Ensure that you have your dev server running
yarn start
- Run tests with
yarn test
. - If you are developing tests, use
yarn cypress
instead.