This project created using the Gatsby Default Starter.
-
Start with Netlify.
First of all, you can deploy this project to the Netlify (or Vercel) and in the same time clone it to your own github. See the links below.
-
Install the dependencies.
After cloning the code you need to install the dependencies
yarn
-
Set environment variables.
Rename the
dotenv
file to the.env.development
and/or.env.development
. And fill your Contentful Access tokensGATSBY_CONTENTFUL_SPACE_ID=your_space_id GATSBY_CONTENTFUL_ACCESS_TOKEN=your_access_token
-
Start developing.
Navigate into your new site’s directory and start it up.
yarn develop
The site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.