# trex-web-playground **Repository Path**: opensource77/trex-web-playground ## Basic Information - **Project Name**: trex-web-playground - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-20 - **Last Updated**: 2021-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TRex Web Playground Have TRex running inside a container using your web browser. Provides a quick way to get a look-and-feel of what TRex is. ![alt text](https://trex-tgn.cisco.com/trex/doc/images/trexweb.jpg) ## Getting Started TRex web playground is actually a simple skeleton meant to be enhanced. It consists of a node.js server and client static HTML file. ### Prerequisites To get the server running you need: ``` Node.js Docker ``` ### Installing Assuming you have node.js and Docker installed and ready, install the following Node packages ``` npm install express pty tmp dockerode log-timestamp socket.io ``` End with an example of getting some data out of the system or using it for a little demo ## Starting TRex Web Server Simply launch node.js server from root: ``` npm start ``` ## Contributing This project is actually more of a proof of concept of what can be done with TRex and Docker. It was created in a few days just to play with the possibilties. Thus, we encourge contributing to this project by someone who actually knows Javascript and node.js :)