Giter Site home page Giter Site logo

swiftalker / ts2-sim-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ts2/ts2-sim-server

0.0 0.0 0.0 4.12 MB

TS2 SimServer, the core of the TS2 Simulator

Home Page: https://ts2.github.io

License: GNU General Public License v2.0

Shell 0.04% JavaScript 10.35% Go 82.36% CSS 1.14% HTML 4.43% Dockerfile 0.19% SCSS 1.48%

ts2-sim-server's Introduction

ts2 Sim Server

GoDoc Join the chat at https://gitter.im/ts2/ts2-sim-server Build Status codecov

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.

Install

Binary

Download the binary for your platform from the Release Page. This is a single binary with no dependencies.

Source

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

Starting the 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 the simulation.json file inside and start the server on it.

Web UI

The server ships with a minimal Web UI to interact with the webservice.

Start the server and head to http://localhost:22222.

ts2-sim-server's People

Contributors

npiganeau avatar pedromorgan avatar hklang10 avatar sharpe49 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.