© Joe Attardi 2020
J. AttardiUsing Gatsby and Netlify CMShttps://doi.org/10.1007/978-1-4842-6297-9_4

4. Setting Up Netlify CMS

Joe Attardi1 
(1)
Billerica, MA, USA
 

Let’s dive right in and start building the coffee shop site. The first step is to install and configure Netlify CMS and integrate it with Gatsby.

Install dependencies

We first need to install a few packages from npm:
  • netlify-cms-app: The Netlify CMS application itself

  • gatsby-plugin-netlify-cms: The Netlify CMS Gatsby plugin

Open a terminal, go to the project directory, and type the command to install these packages. Note that we are installing specific versions. This is because by default, npm installs the latest version of a package, and there may be later breaking changes that do not work ...

Get Using Gatsby and Netlify CMS: Build Blazing Fast JAMstack Apps Using Gatsby and Netlify CMS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.