-
clone the project, and go to
src
cd toy-browser/src
-
install
npm
andnode.js
-
install packages (
css
andimages
)npm install
- start the server
node server.js
- open a new terminal, and start the client
node client.js
The result rendered by toy-browser will be saved as an image, in dist/viewport.jpg
.