Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpgon/gatsby-netlify-cms
https://github.com/mpgon/gatsby-netlify-cms
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mpgon/gatsby-netlify-cms
- Owner: mpgon
- Created: 2019-04-11T10:05:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-25T10:16:52.000Z (over 5 years ago)
- Last Synced: 2024-11-11T04:06:08.031Z (about 1 month ago)
- Language: JavaScript
- Size: 7.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gatsby + Netlify CMS Starter
[![Netlify Status](https://api.netlify.com/api/v1/badges/b654c94e-08a6-4b79-b443-7837581b1d8d/deploy-status)](https://app.netlify.com/sites/gatsby-starter-netlify-cms-ci/deploys)
## Prerequisites
- Node (recommended v8.2.0 or higher)
- [Gatsby CLI](https://www.gatsbyjs.org/docs/)### Access Locally
```
$ yarn
$ npm run start
```To test the CMS locally, you'll need run a production build of the site:
```
$ npm run build
$ npm run serve
```### Setting up the CMS
Follow the [Netlify CMS Quick Start Guide](https://www.netlifycms.org/docs/quick-start/#authentication) to set up authentication, and hosting.
## Debugging
Windows users might encounter `node-gyp` errors when trying to npm install.
To resolve, make sure that you have both Python 2.7 and the Visual C++ build environment installed.```
npm config set python python2.7
npm install --global --production windows-build-tools
```[Full details here](https://www.npmjs.com/package/node-gyp "NPM node-gyp page")