11) Learn Gatsby w/ Strapi - Deploy Gatsby to Netlify

preview_player
Показать описание
📢 Important Notice: This video uses Strapi v3, the older version of Strapi. We want to ensure you know that Strapi 4 is the latest version with new features, improvements, security patches, and updates.

Please refer to the resources listed below.

Learn how to create a Gatsby Blog using Strapi a node based open source headless CMS in this video tutorial series. In this video we prepare and deploy Gatsby to Netlify step-by-step.

This entire video series will take you step by step through creating a blog in Gatsby and teach you how to connect it to the open source headless CMS - Strapi.

Based on the updated June 2019 article (copy/paste code examples from here):

Important links:

Blog Post Read Along Section - for this Video:

Netlify Sign-up:

Netlify CLI Documentation -

This video DEMO url and Github:

Long-term Netlify Demo URL and Github:

All Videos in this tutorial series:

11 - Learn GatsbyJS with Strapi Headless CMS Tutorial Series - Deploy Gatsby to Netlify - THIS VIDEO
Рекомендации по теме
Комментарии
Автор

Et bien, j'espère vraiment que votre solution va décoller. C'est impressionnant là !

Suzn
Автор

Hello, the lessons are super! But when I deploy the application to netlify, an error occurs. Please help me decide. This is the log file.
4:29:34 PM: error # 85901 GRAPHQL
4:29:34 PM: There was an error in your GraphQL query:
4:29:34 PM: Cannot query field "allStrapiUser" on type "Query". Did you mean "allStrapiArticle"?
4:29:34 PM: File: gatsby-node.js: 60: 22

whitegoose
Автор

Any reason why you wouldn't also use Heroku to deploy the client/gatsby site?

jdwileymon
Автор

I'm using the NextJS framework to deploy to Netlify using Heroku. Where would I put the 'apiURL: process.env.DEPLOU_URL ? '' etc' since other frameworks like nextjs don't have a 'gatsby-source-strapi plugin?

RusticChaser
Автор

Really good tutorial, I've learn a lot so far, but still have one big question: Why do we need to upload Strapi on Heroku and Gatsby on Netlify ? If I get it right heroku act like a server (for hosting the API created with Strapi) and Netlify host Gatsby but Gatsby is SSR, this isn't possible to host everything on Heroku ?

alexbaker