-
Clone repo.
Clone this repository.
-
Prepare environment.
Install dependencies using
yarn
.Set environment variables. For local uage, create a file named
.env.development
with the following:# Google Analytics GA_TRACKING_ID= # Contentful CONTENTFUL_SPACE_ID= CONTENTFUL_HOST='preview.contentful.com' CONTENTFUL_DELIVERY_ACCESS_TOKEN= CONTENTFUL_PREVIEW_ACCESS_TOKEN=
-
Start developing.
Navigate into the site’s directory and start it up.
yarn develop
-
Open the code and start customizing!
Your site is now running at http://localhost:8000!
Edit
src/pages/index.js
to see your site update in real-time! -
Learn more