Skip to content

Commit 46fe0e1

Browse files
committed
minor
1 parent 92d1a20 commit 46fe0e1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Windows, Unix systems and macOS are supported. For Windows, you'll need to call
2222
2. Install global Node modules:
2323

2424
```
25-
npm install -g bunyan gulp
25+
npm install -g bunyan gulp@4
2626
```
2727
2828
3. Create the root folder.
@@ -100,7 +100,14 @@ First, run the command that imports (and caches) the tutorial:
100100
101101
```
102102
cd /js/server
103-
cross-env NODE_LANG=en TUTORIAL_ROOT=/js/en.javascript.info npm run gulp engine:koa:tutorial:import
103+
NODE_LANG=en TUTORIAL_ROOT=/js/en.javascript.info npm run gulp engine:koa:tutorial:import
104+
```
105+
106+
For Windows: `npm i -g cross-env` and prepend the call with `cross-env` to pass environment variables, like this:
107+
108+
```
109+
cd /js/server
110+
cross-env NODE_LANG=en...
104111
```
105112
106113
In the code above, `NODE_LANG` sets server language, while `TUTORIAL_ROOT` is the full path to tutorial repo, by default is `/js/$NODE_LANG.javascript.info`.

0 commit comments

Comments
 (0)