yarnwill install package dependencies- Contentful API integration:
CONTENTFUL_SPACE_IDandCONTENTFUL_ACCESS_TOKENare required in PATH- These can be found within Contentful > Settings > API Keys > Content delivery / preview tokens > "SFDC Website"
- Google Calendar integration:
GATSBY_GCAL_CLIENT_EMAILandGATSBY_GCAL_PRIVATE_KEYare required in PATH- These can be found within Google Cloud Platform > SFDC Project > IAM & Admin > Service Accounts
- Mailchip integration:
GATSBY_MAILCHIMP_SUBSCRIBE_ENDPOINTis required in PATH- The easiest way to find this is within Netlify's Environment Variables configuration
yarn start will run both the frontend and a server proxy for Netlify lambda functions (required for events).
Netlify builds automatically on remote pushes to dev and master branches.
To build locally:
yarn build will build both the frontend and Netlify lambda functions.