This project powers Dovetail's public marketing website at dovetailapp.com. It includes the marketing pages, help articles, terms and policies, and more.
This project is based on Gatsby. To get started, run:
yarn install
yarn startNote: You must use Yarn at the moment due to NPM bugs.
Some React components have stories. To run storybook:
yarn run storybookTypeScript interfaces for queries can be generated via:
yarn generate:typesWhen to run:
- After modifying GraphQL queries.
- After adding/removing frontmatter (this also requires restarting Gatsby).
Requirements:
- Gatsby actively serving http://localhost:8000/___graphql.
- GraphQL queries must be named.
- GraphQL queries must use the
graphqltagged template literal tag.
The types are placed in the @heydovetail/website/graphql/types module.
The build can be configured using the following environment variables:
GATSBY_BASE_URLPREVENT_CRAWLINGSENTRY_DSNSENTRY_ENVIRONMENTSENTRY_RELEASE
These are configured automatically during CI deployment, however, GATSBY_BASE_URL is accessed in React TypeScript, so needs to be included in a .env.development file in the root.
We have published our marketing website on GitHub as a helpful resource for those building projects with Gatsby, however, this website’s branding, style, wording, and images are licensed under a Creative Commons Attribution-NonCommercial 3.0 Australia License and may not be used for commercial use.