Merge pull request #569 from wavebeem/issue/562

Fixes #562 adds Windows demo setup help
This commit is contained in:
Daniel Imms
2017-02-27 11:52:47 -08:00
committed by GitHub
2 changed files with 21 additions and 6 deletions
+19 -4
View File
@@ -48,14 +48,29 @@ Xterm.js works seamlessly in Electron apps and may even work on earlier versions
## Demo ## Demo
To launch the demo simply run: ### Linux or macOS
Run the following commands:
``` ```
npm install $ npm install
npm start $ npm start
``` ```
Then open http://0.0.0.0:3000 in a web browser (use http://127.0.0.1:3000 if running under Windows). Then open http://0.0.0.0:3000 in a web browser.
### Windows
First, ensure [node-gyp](https://github.com/nodejs/node-gyp) is installed and configured correctly, then run these commands.
Note: Do not use ConEmu, as it seems to break the demo for some reason.
```
> npm install
> npm start
```
Then open http://127.0.0.1:3000 in a web browser.
## Getting Started ## Getting Started
+1 -1
View File
@@ -60,7 +60,7 @@
"sleep": "^3.0.1", "sleep": "^3.0.1",
"sorcery": "^0.10.0", "sorcery": "^0.10.0",
"tslint": "^4.0.2", "tslint": "^4.0.2",
"typescript": "^2.0.3", "typescript": "~2.1.0",
"vinyl-buffer": "^1.0.0", "vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0" "vinyl-source-stream": "^1.1.0"
}, },