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
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Please fork it and send us improvements! Read our [CONTRIBUTING.md](CONTRIBUTING
10
10
11
11
We ask that you make pull requests because changes to this repository will get deployed onto the live production site immediately and it's best if you get feedback on your pull request first before it goes live.
12
12
13
-
## Running the app locally
13
+
## Running the entire app locally
14
14
15
15
This is a static site with a build step, simply run `npm start`:
16
16
@@ -19,6 +19,50 @@ npm install
19
19
npm start
20
20
```
21
21
22
+
## Installing and running individual nodeschool workshop packages
23
+
24
+
Please refer to the [nodeschool site](http://nodeschool.io/#workshoppers) for detailed instructions. In short, there are two ways to install the workshop modules :
25
+
26
+
-**Globally** (easiest)
27
+
28
+
Depending on the npm version, `npm packages` get installed in different routes. To have access to them globally. Do
29
+
30
+
`npm install -global package_name` or `npm install -g package_name`
31
+
32
+
If you get a `permission denied` **error**. Run the previous command with `sudo`.
33
+
34
+
`sudo npm install -g package_name`
35
+
36
+
Now just run it by simply calling it. **For example :**
If you would like to keep all the node_school workshop packages inside a custom directory while you work through them. **Using our previous example :**
51
+
52
+
```
53
+
~ mkdir -p node_school
54
+
cd node_school
55
+
npm install javascripting
56
+
```
57
+
58
+
From within the `node_school` directory now run `node_modules/learnyounode/bin/javascripting` to start it.
59
+
60
+
This is because you need to run the executable from within the directory itself since it's not available globally in your `$PATH`
61
+
62
+
Please refer to this [discussion](https://github.com/nodeschool/discussions/issues/1869) for more info.
63
+
64
+
65
+
22
66
## Stickers, Badges and whatnots
23
67
24
68
These are in the `/images` directory, feel free to use for your events. In `images/make-a-sticker` there is a template for making a sticker too. Woop.
0 commit comments