Skip to content

JamieKDonnelly/scuguk

 
 

Repository files navigation

Sitecore User Group UK

www.scug.co.uk

Netlify Status

Note: This starter uses Gatsby v2.

This repo contains an example business website that is built with Gatsby, and Netlify CMS: Demo Link.

It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.

Prerequisites

Access Locally

Fork from https://github.com/steviemcg/scuguk
$ cd [REPO_NAME]
$ 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

Getting Started (Without Netlify)

$ gatsby new [SITE_DIRECTORY_NAME] https://github.com/netlify-templates/gatsby-starter-netlify-cms/
$ cd [SITE_DIRECTORY_NAME]
$ npm run build
$ npm run serve

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

Developer Workflow

Create a new page

  • Create a new Markdown file in src\pages
  • Inside the Markdown file, assign a page template with the templateKey value. This should correspond to the template you want to use from src\templates

Contributing

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

About

Sitecore User Group UK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.5%
  • CSS 20.5%