Nathan Heffley's Gatsby Blog
You'll need to create the
.env.production files by copying
.env.example and providing the ID and access code to your Contentful space which has a
BlogPost content type.
Gatsby will try loading
content fields from your blog posts, so you should define those fields on your content type.
Then navigate into the blog's directory and start it up in development mode to test it out.
To build the site, simply run the build command.
Then you can put the files generated in the public directory onto a static site host, or serve them locally with Gatsby.
If you're interested, I wrote a post about how I host this blog for free.
This project is licensed under the MIT License. See the LICENSE file for more details.