Skip to content

Repository files navigation

CivicActions.com - CivicActions home site

Our home site is live at https://civicactions.com please check it out and bookmark that page if you do that.

Related resources

The official react docs

Intro to Gatsby

Gatsby config

Using Gatsby with Strapi

Gatsby and Strapi integration

Strapi Quick-start guide

Getting Started

  1. First follow the instructions in the Git Workflow Doc.

  2. Install mise and run mise install to get the correct Node and Yarn versions (pinned in mise.toml).

  3. Run yarn install

  4. Verify the lockfile integrity with yarn run lint:lockfile

  5. Confirm .env.development exists with the correct credentials from Owen.

    STRAPI_TOKEN=your_strapi_token_here
    STRAPI_API_URL=https://your-strapi-instance.example.com
  6. yarn build runs 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.development to .env.production.

  7. Run yarn build.

    If the build fails due to stale Gatsby artifacts, run a clean build instead:

    yarn clean && yarn build
  8. Run yarn start.

Managing Dependencies

When adding or updating dependencies, verify the lockfile integrity afterwards:

yarn run lint:lockfile

Accessibility

Check 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.

About

CivicActions Homesite redesign

Resources

Code of conduct

Security policy

Stars

2 stars

Watchers

35 watching

Forks

Releases

Packages

Used by

Contributors

Languages