Gatsby is a popular front-end framework that helps you create static apps and websites with React.
Firstly, set up a Gatsby project by installing Gatsby CLI globally from your terminal:
npm i -g gatsby-cli
Then you can run the following command to create a Gatsby project locally:
gatsby new my-gatsby-project
Next, move into the directory from your terminal with
cd my-gatsby-project. You can see your new project in a local development environment by using the
npm develop command, set in the
package.json by Gatsby CLI.
To deploy your Gatsby app with a Vercel for Git Integration, make sure it has been pushed to a Git repository.
Import the project into Vercel using your Git Integration of choice:
After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the default branch (commonly "master") will result in a Production Deployment.
Once deployed, you will get a URL to see your app live, such as the following: https://gatsby.now-examples.now.sh
Set up a Gatsby app with a few clicks using the Deploy button, and create a Git repository for it in the process for automatic deployments for your updates.