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
@@ -64,7 +65,7 @@ Windows, Unix-systems and MacOS are supported. For Windows, you'll need to call
64
65
./edit en
65
66
```
66
67
67
-
This will import the tutorial from `/js/javascript-tutorial-en` and start the server.
68
+
This will import the tutorial from `/js/en.javascript.info` and start the server.
68
69
69
70
Wait a bit while it reads the tutorial from the disk and builds static assets.
70
71
@@ -85,7 +86,7 @@ You can set another language it with the second argument of `edit`.
85
86
E.g. if you cloned `ru` tutorial, it makes sense to use `ru` locale for the server as well:
86
87
87
88
```
88
-
cd /js/javascript-tutorial-server
89
+
cd /js/server
89
90
./edit ru ru
90
91
```
91
92
@@ -98,16 +99,16 @@ If you'd like to edit the server code (assuming you're familiar with Node.js), *
98
99
First, run the command that imports (and caches) the tutorial:
99
100
100
101
```
101
-
cd /js/javascript-tutorial-server
102
-
NODE_LANG=en TUTORIAL_ROOT=/js/javascript-tutorial-en npm run gulp jsengine:koa:tutorial:import
102
+
cd /js/server
103
+
NODE_LANG=en TUTORIAL_ROOT=/js/en.javascript.info npm run gulp engine:koa:tutorial:import
103
104
```
104
105
105
-
In the code above, `NODE_LANG` sets server language, while `TUTORIAL_ROOT` is the full path to tutorial repo, by default is `/js/javascript-tutorial-$NODE_LANG`.
106
+
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`.
106
107
107
108
Afterwards, call `./dev <server language>` to run the server:
108
109
109
110
```
110
-
cd /js/javascript-tutorial-server
111
+
cd /js/server
111
112
./dev en
112
113
```
113
114
@@ -123,7 +124,7 @@ If you have a very old copy of the English tutorial, please rename `1-js/05-data
123
124
124
125
Please ensure you have Node.js version 10+ (`node -v` shows the version).
125
126
126
-
If it still doesn't work – [file an issue](https://github.com/iliakan/javascript-tutorial-server/issues/new). Please mention OS and Node.js version,
127
+
If it still doesn't work – [file an issue](https://github.com/javascript-tutorial/server/issues/new). Please mention OS and Node.js version,
127
128
128
129
Please pull the very latest git code and install latest NPM modules before publishing an issue.
0 commit comments