You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository is a gatsby theme, that can be used/installed as a
1
+
This repository is a gatsby theme development project. The theme (not the example folder) can be used/installed as a
2
2
gatsby plugin in an other gatsby project.
3
3
4
-
Gatsby theme take advantage of `yarn` and its `workspace` feature, to
5
-
offer ease of development.
4
+
## Installation
5
+
6
+
To use this theme in a project, read the docs at `./gatsby-theme-w3f/readme.md`; this project is available as [@w3f/gatsby-theme-w3f package](https://www.npmjs.com/package/@w3f/gatsby-theme-w3f) on npm repository.
6
7
7
-
## Development
8
+
## Development (of the theme & example project)
9
+
10
+
Gatsby theme take advantage of `yarn` and its `workspace` feature, to
11
+
offer ease of development.
8
12
9
13
To develop locally on the theme, run the following commands from the
10
14
root of this repository:
@@ -19,7 +23,26 @@ yarn workspace example develop
19
23
> When the example is running, it will use the theme folder (inside
20
24
> this repository), as a gatsby module
21
25
22
-
## Repository Layout
26
+
### Use netlify-cms on the example site
27
+
28
+
In a new shell (aside the local development environment for this
29
+
project), run the commands:
30
+
31
+
-`cd example`
32
+
-`npx netlify-cms-proxy-server`
33
+
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
+
38
+
### Debug
39
+
40
+
To debug yarn workspaces on which this theme development is based, you
41
+
can use the command `yarn workspaces info` in the project's root
0 commit comments