Note: This site is based off the Gatsby + Netlify CMS Starter
- Node (I recommend using v8.2.0 or higher)
- Gatsby CLI
- Netlify CLI
Pull down a local copy of this repository
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
$ yarn
$ netlify dev # or ntl dev
This uses the new Netlify Dev CLI feature to serve any functions you have in the lambda
folder.
To test the CMS locally, you'll need run a production build of the site:
$ npm run build
$ netlify dev # or ntl dev