Created
December 18, 2015 02:56
-
-
Save rprichard/a4b731827b1bef9436aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. In an empty directory, check out: | |
| $ git clone -bwindows_fixes https://github.com/rprichard/tty.js.git | |
| $ git clone -bwindows_fixes https://github.com/rprichard/pty.js.git | |
| $ (cd pty.js/deps && rm -fr winpty) | |
| $ (cd pty.js/deps && git clone -bnodejs_fix https://github.com/rprichard/winpty.git) | |
| 2. Establish an npm link from your user-global repo to your pty.js: | |
| $ (cd pty.js && npm link) | |
| 3. Establish an npm link from tty.js to the user-global pty.js link: | |
| $ (cd tty.js && npm link pty.js) | |
| 4. Run npm install to compile everything: | |
| $ (cd tty.js && npm install) | |
| 5. Run npm (make sure you're not in a Cygwin shell, because Cygwin will define the SHELL variable): | |
| $ cd tty.js | |
| $ node bin/tty.js | |
| [tty.js] Listening on port 8080. | |
| 6. Connect to localhost:8080 and click "Open Terminal". |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS: The "npm link" creates a JUNCTION inside your home directory, e.g.: