Our home site is live at https://civicactions.com please check it out and bookmark that page if you do that.
-
First follow the instructions in the Git Workflow Doc.
-
Install mise and run
mise installto get the correct Node and Yarn versions (pinned inmise.toml). -
Run
yarn install -
Verify the lockfile integrity with
yarn run lint:lockfile -
Confirm
.env.developmentexists with the correct credentials from Owen.STRAPI_TOKEN=your_strapi_token_here STRAPI_API_URL=https://your-strapi-instance.example.com
-
yarn buildruns Gatsby in the production environment (NODE_ENV=production), so local builds read from.env.production. If you want to use the same local Strapi credentials as development, you can copy.env.developmentto.env.production. -
Run
yarn build.If the build fails due to stale Gatsby artifacts, run a clean build instead:
yarn clean && yarn build -
Run
yarn start.
When adding or updating dependencies, verify the lockfile integrity afterwards:
yarn run lint:lockfileCheck out our Accessibility statement on the site and feel free to reach out to us there. Alternatively since you're already on GitHub, feel free to submit an issue or a PR. Accessibility is important to us, and this means we try to go beyond WCAG 2.1 AA and build a good customer experience for our clients.