diff --git a/README.md b/README.md index 01559aa..26d5bb0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # yterm -`yterm` is a terminal emulator in web. Similar project [`xterm.js`](https://github.com/xtermjs/xterm.js). +`yterm` is a terminal emulator in web. +[`xterm.js`](https://github.com/xtermjs/xterm.js) is a similar project. My project proposal and weekly rubrics can be found [here](https://gitlab.engr.illinois.edu/zl38/fa19-cs242-project/tree/proposal) # Project structure diff --git a/demo/Makefile b/demo/Makefile new file mode 100644 index 0000000..3f91618 --- /dev/null +++ b/demo/Makefile @@ -0,0 +1,6 @@ +NPM_INSTALL := npm install --no-save +NPX := npx + +.PHONY: deps +deps: + $(NPM_INSTALL) $(DEPS) diff --git a/demo/multiplex/Makefile b/demo/multiplex/Makefile new file mode 100644 index 0000000..2f78467 --- /dev/null +++ b/demo/multiplex/Makefile @@ -0,0 +1,7 @@ +DEPS := ws@^7.2.0 node-pty@^0.9.0 + +.PHONY: all +all: deps + $(NPX) ts-node server.ts + +include ../Makefile diff --git a/demo/demo.html b/demo/multiplex/demo.html similarity index 98% rename from demo/demo.html rename to demo/multiplex/demo.html index deffa08..aa09750 100644 --- a/demo/demo.html +++ b/demo/multiplex/demo.html @@ -63,7 +63,7 @@