Skip to content
/ vision Public template

Gatsby + Contentful + Shopify + Netlify

License

Notifications You must be signed in to change notification settings

jokokoloko/vision

Repository files navigation

Vision

Gatsby + Contentful + Shopify + Netlify

Stack

Gatsby
Contentful
Shopify
Netlify

Features

Pagination
Image
Remark
Helmet
Offcanvas
Scroll
Spring

Extras

Mailchimp
Carousel
Modal

Setup

Below are the steps required to use this starter for a new project:

  1. In GitHub, create a new repository by importing a clone of this repository.
  2. In Contentful, create a new space for the project.
  3. In Contentful, go to Settings -> API keys and copy the "Space ID" and the "Content Delivery API - access token" and paste it into a .env file within the local copy of the new project's repository (it might be necessary to move the .env file in and out of the project folder, running the build command multiple times, and populating the base content models and content entries for the data from the new space to be sourced correctly by Gatsby).
  4. In Netlify, click on the "New site from Git" button and select the newly created repository.
  5. In Netlify, add the same "Space ID" and "Content Delivery API - access token" as environment variables under Settings -> Build & deploy -> Environment.
  6. In Netlify, go to Settings -> Build & deploy -> Build hooks, click the "Add build hook" button, name it "Contentful", and copy just the generated URL.
  7. In Contentful, go to Settings -> Webhooks, click the link to add the Netlify webhook template, and paste the URL that Netlify provided into the form.
  8. In Netlify, go to Settings -> Build & deploy -> Post processing and enable all settings within Asset optimization.

Requirements

  1. Add client provided "icon.png" that must be square and 512x512.
  2. Update "gatsby-config.js" to client's information.

Resources

JAMstack Basics: How to Create a Gatsby Starter with Contentful and Deploy to Netlify
Setting Up a Continuous Deployment Pipeline with Gatsby.js, Contentful and Netlify
Rebuild your static site automatically with Contentful webhooks
Advanced Gatsby and Shopify
Statically generated e-commerce using Shopify and Netlify

About

Gatsby + Contentful + Shopify + Netlify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published