https://github.com/sdv-dev/blog
SDV blog
https://github.com/sdv-dev/blog
Last synced: about 1 year ago
JSON representation
SDV blog
- Host: GitHub
- URL: https://github.com/sdv-dev/blog
- Owner: sdv-dev
- Created: 2021-04-20T00:03:02.000Z (almost 5 years ago)
- Default Branch: ghost-blog
- Last Pushed: 2023-01-31T13:38:58.000Z (about 3 years ago)
- Last Synced: 2025-01-01T22:43:06.574Z (about 1 year ago)
- Language: JavaScript
- Size: 3.59 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDV Blog
*https://sdv.dev/web-dev/*
# Installing
Then install dependencies
```bash
yarn
```
# Running
Start the development server. You now have a Gatsby site pulling content from headless Ghost.
```bash
gatsby develop
```
# Deploying to Github Pages
```bash
npm run deploy
```
# Optimising
You can disable the default Ghost Handlebars Theme front-end by enabling the `Make this site private` flag within your Ghost settings. This enables password protection in front of the Ghost install and sets `` so your Gatsby front-end becomes the source of truth for SEO.
# Extra options
```bash
# Run a production build, locally
gatsby build
# Serve a production build, locally
gatsby serve
```
Gatsby `develop` uses the `development` config in `.ghost.json` - while Gatsby `build` uses the `production` config.