What is Gatsby
Gatsby or GatsbyJS is a modern website generator (SSG) based on ReactJS, the popular framework originally 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?
- Register as 21YunBox member
- Fork Gatsby Example
- 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
Why Choose 21YunBox?
21YunBox is a Cloud Service Platform based out of Beijing, China. Our services provides you with an easy and budget friendly, end-to-end web platform deployment service for all applications and stacks. No matter your need, we have a flexible solution to assist.
If needed, we also offer full support in obtaining your ICP license which allows you to legally host online content within Mainland China.
To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms, please refer to:
- 21YunBox vs Heroku
- 21YunBox vs Netlify
- 21YunBox vs Vercel
- 21YunBox vs Gatsby Cloud
- 21YunBox vs Github Pages
- 21YunBox vs Surge.sh
- Compare in terms of function and price: 21YunBox vs Heroku, Netlify, Vercel
This article's content originated here
For additional detail and future modifications, refer the original post.
Top comments (0)