https://github.com/konsumer/gatsby-starter-bootstrap-netlify
Bootstrap and netlify CMS starter for Gatsby
https://github.com/konsumer/gatsby-starter-bootstrap-netlify
Last synced: over 1 year ago
JSON representation
Bootstrap and netlify CMS starter for Gatsby
- Host: GitHub
- URL: https://github.com/konsumer/gatsby-starter-bootstrap-netlify
- Owner: konsumer
- License: mit
- Created: 2017-11-08T01:59:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T20:35:52.000Z (about 7 years ago)
- Last Synced: 2025-03-17T03:04:55.823Z (over 1 year ago)
- Language: JavaScript
- Size: 4.1 MB
- Stars: 63
- Watchers: 4
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gatsby Bootstrap Netlify Starter
[](https://greenkeeper.io/)
[Bootstrap 4](http://getbootstrap.com/), [bootswatch](https://bootswatch.com/) and netlify CMS starter for Gatsby
This repo contains an example blog that is built with [Gatsby](https://www.gatsbyjs.org/), and [Netlify CMS](https://netlifycms.org): [demo](https://gatsby-starter-bootstrap-netlify.netlify.com)
It follows the [JAMstack architecture](https://jamstack.org) by using Git as a single source of truth, and [Netlify](netlify.com) for continuous deployment, and CDN distribution.
## Getting Started
### Prerequisites
* Node (I recommend using v8.2.0 or higher)
* [Gatsby CLI](https://www.gatsbyjs.org/docs/)
### Run Locally
```sh
gatsby new [SITE_DIRECTORY_NAME] https://github.com/konsumer/gatsby-starter-bootstrap-netlify/
cd [SITE_DIRECTORY_NAME]
npm start
```
## Accessing the CMS
Follow the [Netlify CMS Quick Start Guide](https://www.netlifycms.org/docs/quick-start/#authentication) to set up authentication, and hosting.
### Configuration
Set your site's title in `gatsby-config.js`. If you set `disqus` to your ID, it will be used for your comments, set it to `false` and it will be left out. It's currently set to `gatsby-starter-blog`, for the demo, but you can set it to your disqus ID. `author` and `authorLink` aren't currently used for anything, but maybe later.
### Theming
You can quickly load any theme from [bootswatch](https://bootswatch.com/) by editing `src/layouts/index.scss`, and switching out `cosmo` for one of these:
* cosmo
* cerulean
* cyborg
* darkly
* flatly
* journal
* litera
* lumen
* lux
* materia
* minty
* pulse
* sandstone
* simplex
* sketchy
* slate
* solar
* spacelab
* superhero
* united
* yeti
There's 2 lines to change.
You can also comment/uncomment lines in that file to customize exactly what parts of bootstrap are loaded.