File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ git clone https://github.com/espruino/EspruinoHub
28
28
cd EspruinoHub
29
29
npm install
30
30
# Optional: Install espruino-web-ide to allow the IDE to be used from the server
31
- npm install espruino-web-ide
31
+ git clone https://github.com/ espruino/EspruinoWebIDE
32
32
# Give Node.js access to Bluetooth
33
33
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
34
34
```
@@ -38,6 +38,7 @@ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
38
38
** Note:** The instructions above assume you want to use Node-RED. If you don't
39
39
then you can skip the Node-RED related parts.
40
40
41
+
41
42
Usage
42
43
-----
43
44
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ exports.init = function() {
171
171
172
172
// Handle Web IDE serving
173
173
try {
174
- pathToWebIDE = require . resolve ( 'espruino-web-ide' ) ;
174
+ pathToWebIDE = require ( 'path' ) . resolve ( __dirname , "../EspruinoWebIDE" ) ;
175
175
if ( require ( "fs" ) . existsSync ( pathToWebIDE ) )
176
176
pathToWebIDE = pathToWebIDE . substr ( 0 , pathToWebIDE . lastIndexOf ( "/" ) ) ;
177
177
} catch ( e ) {
You can’t perform that action at this time.
0 commit comments