(the website)
This site is built with Next.js and MDX/Markdown, and Chakra UI. It is hosted on Vercel.
-
clone this repo
-
yarn install
to install npm dependencies -
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:# IDs for our shopify store, to be able to sell books NEXT_PUBLIC_SHOPIFY_DOMAIN= NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= NEXT_PUBLIC_FATHOM_ID= # mailjet API stuff, for the newsletter subscription form MAILJET_PUBLIC_KEY= MAILJET_SECRET_KEY= MAILJET_NEWSLETTER_LIST_ID= # API key and base ID for airtable, which we use for our contact form AIRTABLE_API_KEY= AIRTABLE_BASE_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 withyarn dev
). -
yarn dev
will run the local dev environment 👍 -
yarn build
will run the build command to build a prod version of the site, which you can then test locally withyarn start
Our aim is to build a constructive, inclusive, and positive community. Please give our our Code of Conduct a read through before contributing.