Note: This site was originally forked from the Netlify cms Gatsby starter
This site is built with Gatsby v2 and follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.
NetlifyCMS is used to help manage content and since it's a media heavy travel blog, most of the images are hosted on Cloudinary.
- Node (I recommend using v8.2.0 or higher)
- Gatsby CLI
git clone https://github.com/bpugh/bc-travel.git
cd bc-travel
yarn
yarn start
To test the CMS portion locally, you'll need run a production build of the site:
yarn build
Follow the Netlify CMS Quick Start Guide to set up authentication, and hosting.
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
MacOS users might also encounter some errors, for more info check node-gyp. I recommend using the latest stable node version.
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.