Skip to content

add lock and improve readme #2177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,24 @@ yarn

This website uses a submodule for shared components. To set it up please refer to the [gatsby-plugin-substrate repository](https://github.com/paritytech/gatsby-plugin-substrate#troubleshooting).

```shell
git submodule update --init --recursive
```

To update the submodule to the latest main branch, run:

```shell
git submodule update --remote
```

**Configure environment variables**

Copy `example.env.development` into a new `.env.development` file.

```shell
cp example.env.development .env.development
```

Config URL variables based on your preferable local setup.
URL will be used for links generation between Substrate websites.

Expand Down
4 changes: 2 additions & 2 deletions example.env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# GATSBY_WEBSITE_URL=http://localhost:8100
# GATSBY_DOCS_URL=http://localhost:8200
GATSBY_WEBSITE_URL=http://localhost:8100
GATSBY_DOCS_URL=http://localhost:8200
Loading
Loading