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
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,13 @@ We ask that you make pull requests because changes to this repository will get d
12
12
13
13
## Running the entire app locally
14
14
15
-
This is a static site with a build step, simply run `npm start`:
15
+
This is a static site with a build step. The build step uses a [GitHub Personnal Access Token](https://github.com/settings/tokens) that you need to generate and put in a .env file. **Actually you don't need to configure any authorization on this access token**, it just serves the purpose of unleashing the GitHub API Rate Limit.
16
+
17
+
```
18
+
cp .env.example .env
19
+
// then put your GitHub Personnal Access Token in the .env file
20
+
```
21
+
After that, simply run `npm start`:
16
22
17
23
```
18
24
npm install
@@ -25,10 +31,10 @@ Please refer to the [nodeschool site](http://nodeschool.io/#workshoppers) for de
25
31
26
32
-**Globally** (easiest)
27
33
28
-
Depending on the npm version, `npm packages` get installed in different routes. To have access to them globally. Do
29
-
34
+
Depending on the npm version, `npm packages` get installed in different routes. To have access to them globally. Do
35
+
30
36
`npm install -global package_name` or `npm install -g package_name`
31
-
37
+
32
38
If you get a `permission denied` **error**. Run the previous command with `sudo`.
33
39
34
40
`sudo npm install -g package_name`
@@ -52,10 +58,10 @@ If you would like to keep all the node_school workshop packages inside a custom
52
58
```
53
59
~ mkdir -p node_school
54
60
cd node_school
55
-
npm install javascripting
61
+
npm install javascripting
56
62
```
57
63
58
-
From within the `node_school` directory now run `node_modules/learnyounode/bin/javascripting` to start it.
64
+
From within the `node_school` directory now run `node_modules/learnyounode/bin/javascripting` to start it.
59
65
60
66
This is because you need to run the executable from within the directory itself since it's not available globally in your `$PATH`
0 commit comments