jaller94 / apisyouwonthate.com

All about books, hilarious tshirts, and blog posts. Send us a PR!

Home Page:https://apisyouwonthate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 👍

  5. yarn build will run the build command to build a prod version of the site

Code of Conduct

Our aim is to build a constructive, inclusive, and positive community. Please give our our Code of Conduct a read through before contributing.

About

All about books, hilarious tshirts, and blog posts. Send us a PR!

https://apisyouwonthate.com

License:MIT License


Languages

Language:JavaScript 80.7%Language:CSS 19.3%