Skip to content

Commit cb695ff

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/webpack-5.76.1
2 parents b728ed0 + 206e0a1 commit cb695ff

38 files changed

+1019
-361
lines changed

DEV_GUIDE.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,17 @@
88
## Development Setup
99

1010
1. Clone this repository onto your local machine
11-
2. [Download and Set up Gatsby Environment](https://www.gatsbyjs.com/tutorial/part-zero/).
12-
3. Open up the project using your preferred code editor
13-
4. Install the required node modules for this project.
11+
2. Open up the project using your preferred code editor
12+
3. Install the required node modules for this project.
1413
```
1514
npm install
1615
```
17-
5. Disable GitHub API access (Used to fetch the list of contributors)
18-
Create a new file in the root called `.env.development` (See [Project Structure](#project-structure) for more information)
19-
Write the following line to it:
20-
```
21-
NO_GH_API_KEY=true
22-
```
2316
4. Start up the Gatsby site
2417
```
25-
npm start
18+
NO_GH_API_KEY=true npm start
2619
```
2720
5. Open http://localhost:8000 to check the site
2821
29-
**Obs**: The `NO_GH_API_KEY` environment variable can also be passed through command line. E.g.: `NO_GH_API_KEY=true npm run start`.
30-
3122
### Optional - Test the GitHub API integration
3223
3324
This step is optional and allows you to test that the list of contributors is being fetched from GitHub.

0 commit comments

Comments
 (0)