What is Gatsby

Gatsby or GatsbyJS is a modern website generator (SSG) based on ReactJS, the popular framework from Facebook. It can be used to build blogs, e-commerce websites, web applications, and etc. Pairing GatsbyJS with a headless CMS such as Contentful enables marketing and technical teams to transform the overall digital experience.

21YunBox provides a very simple GatsbyJS deployment method. You can deploy with 21YunBox in the form of static web pages.


How to Deploy GatsbyJS in China?

  1. Signup on 21YunBox
  2. Fork Gatsby Example
  3. Use the following method to configure
Environment Static webpage
Build command yarn && yarn build
Release Directory ./public

If the description of the above text is not clear, please refer to the following operation video example:

How to Deploy GatsbyJS to a Server Example Video