Skip to content

Commit ee6bf46

Browse files
author
hugur
committed
clarify netlify-cms local
1 parent 6dbcc05 commit ee6bf46

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ yarn workspace example develop
2525
2626
### Use netlify-cms on the example site
2727

28-
In a new shell (aside the local development environment for this
28+
If you want to use netlify-cms against the local repository (instead
29+
of the one on the remote), in `./example/.env.development`, add the
30+
line `GATSBY_NETLIFY_CMS_GIT_LOCAL=true`.
31+
32+
Then in a new shell (aside the local development environment for this
2933
project), run the commands:
3034

3135
- `cd example`
3236
- `npx netlify-cms-proxy-server`
3337

34-
> Note: if you want to use netlify-cms against the local repository
35-
> (instead of the one on the remote), in `./example/.env.development`,
36-
> add the line `GATSBY_NETLIFY_CMS_GIT_LOCAL=true`.
37-
3838
### Debug
3939

4040
To debug yarn workspaces on which this theme development is based, you

0 commit comments

Comments
 (0)