This is the home of the ts2 simulation server, the core of the ts2 simulator.
Unless you want to develop your own client and access the simulator through its API, you should go to https://github.com/ts2/ts2 to grab the all-in-one simulator which includes the simulation server.
Download the binary for your platform from the Release Page. This is a single binary with no dependencies.
You need to install the Go distribution (https://golang.org/dl/) for your platform first.
Then use the go tool:
go get github.com/ts2/ts2-sim-server
ts2-sim-server /path/to/simulation-file.json
The server is running and can be accessed at ws://localhost:22222/ws
Note that the server only accepts JSON simulation files. If you have a
.ts2
file, you must unzip it first, extract thesimulation.json
file inside and start the server on it.
The server ships with a minimal Web UI to interact with the webservice.
Start the server and head to http://localhost:22222
.