GitHub - kinsta/kinsta-gatsby-quickstart (original) (raw)

gatsby

A Comprehensive Guide To Building Static Sites With Gatsby

This article explains how to create and customize a Gatsby site with a markdown blog feature.

Read the full article.

Installation

  1. Clone or fork the repository.

Kinsta Static Site Hosting Setup

Dependency Management

Kinsta automatically installs dependencies defined in your package.json file during the deployment process.

Setting the Build Command, Node version, and Publish directory

After connecting the repository, Static Site Hosting will automatically populate all the fields with the correct values.

Build command npm run build
Node version 18.16.0
Publish directory public

Deployment Lifecycle

Whenever a deployment is initiated (through creating an application or re-deploying due to an incoming commit), the build command is run, followed by the deployment of the Publish Directory content.

What is Kinsta

Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. You can focus on coding and building, and we'll take care of deployments with fast, scalable hosting.

At Kinsta, Static Sites are free, and you can host up to 100 sites on your account for completely free.

Kinsta offers 24/7 support via our chat system, which is always one click away in MyKinsta for customers with a paid plan or service.

If you only have a Static Site Hosting account, we have detailed Static Site Hosting documentation available. You can also connect with developers and knowledgeable community members in the Kinsta Community forum.