Skip to content

Commit 748df7e

Browse files
committed
adds git-gateway step to readme
1 parent d171a13 commit 748df7e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ gatsby develop
2727
☝️ _What happens when you click on the button?_ It takes you to Netlify, where you have to click a few more things before anything real happens. (It clones this repo, and then deploys it using Netlify to the real internet.) But go ahead and deploy this site (assuming you have a Github account). This start is made for Netlify, so this button isn't just here as any hosting/deployment solution.
2828

2929
### Login and write a post
30-
First, in Netlify, go to the `Identity` section and click `Enable Identity`, allowing you to sign in to the CMS.
31-
The CMS editor is located at `[YOUR_NETLIFY_SITE].netlify.com/admin/` where you can now sign up for a login.
30+
1. In Netlify web interface, go to the `Identity` section and click `Enable Identity`, allowing you to sign in to the CMS.
31+
2. In Netlify, **Settings > Identity > Services** click on `Enable Git Gateway`. This is necessary to log in to the CMS. (otherwise you'll get an error `Unexpected token < in JSON at position 0`)
32+
3. The CMS editor is located at `[YOUR_NETLIFY_SITE].netlify.com/admin/` where you can now sign up for a login.
3233

3334
## About
3435
This is a simple blog template based on [Gatsby](https://www.gatsbyjs.org/), and [Netlify CMS](https://www.netlifycms.org)

static/admin/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
backend:
22
name: git-gateway
3-
3+
branch: master
4+
45
media_folder: static/img
56
public_folder: /img
67
publish_mode: editorial_workflow

0 commit comments

Comments
 (0)