ycfreeman / radio4ebchinese.org-gatsby

2023 update with gatsby static site generator - now hosted on vercel

Home Page:https://www.radio4ebchinese.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

built with Gatsby + Netlify CMS Starter

Netlify Status

Prerequisites

Access Locally

Pulldown a local copy of the Github repository Netlify created for you, with the name you specified in the previous step

$ cd [REPO_NAME]
$ npm install
$ 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 to run a production build of the site:

$ npm run build
$ netlify dev # or ntl dev

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

Setting up the CMS

Follow the Netlify CMS Quick Start Guide 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

MacOS users might also encounter some errors, for more info check node-gyp. We recommend using the latest stable node version.

Purgecss

This plugin uses gatsby-plugin-purgecss and bulma. The bulma builds are usually ~170K but reduced 90% by purgecss.

CONTRIBUTING

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

About

2023 update with gatsby static site generator - now hosted on vercel

https://www.radio4ebchinese.org

License:MIT License


Languages

Language:JavaScript 91.7%Language:SCSS 8.3%