Skip to content

cwlsn/gatsby-simple-contentful-starter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gatsby-simple-contentful-starter

This Gatsby starter is able to connect to your Contentful account. View the live demo!

Quick Start

First, create a new Gatsby site from the starter:

$ gatsby new my-fun-site https://github.com/cwlsn/gatsby-simple-contentful-starter

Rename sample.env to .env and fill in your Contentful details.

This starter will try to talk to a Contentful Model named homePage.

From your project's root, make sure dependencies are installed and start the Gatsby development server.

$ npm i
$ gatsby develop

Production on Netlify

Push your site to Git and create a new site from that repo on Netlify. Make sure to add your Contentful creds in the environment variables.

Detailed Instructions

Check out the article detailing how to create and deploy a Gatsby site with Contentful on Netlify.

Author

Connor Wilson

About

🎊 A simple Gatsby Starter that talks to Contentful.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published