Skip to content

gcallaghan/apisyouwonthate.com

Repository files navigation

APIs You Won't Hate Gatsby site

To run the site locally

  1. clone this repo

  2. yarn install to install npm dependencies

  3. To make shopify buy button embeds work, create a file called .env.development in the root of this project directory with the following values set:

    GATSBY_SHOPIFY_API_KEY=
    GATSBY_SHOPIFY_DOMAIN=
    GATSBY_SHOPIFY_APP_ID=

    (fill in missing values to the right of each = with values from shopify) Values from this file will be injected into the react runtime following these rules whenever you start the project with gatsby develop (or yarn start / npm run start, which just runs gatsby develop). (Note: any additional environment variables must start with GATSBY_)

  4. yarn start will run the local dev environment 👍