Skip to content

cisco-system-traffic-generator/trex-web-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 :)

Releases

No releases published

Packages

No packages published