Git Product home page Git Product logo

goldenserver's Introduction

GoldenServer -- race and train via GoldenCheetah over "the Internets"

Contributors:
   Justin Knotzke    [jknotzke {at} shampoo.ca]
   Steve Gribble     [gribble {at} cs.washington.edu]
   Mark Liversedge   [liversedge {at} gmail.com]


Welcome to GoldenServer!


LICENSE

This project is covered by the GNU General Public License, version 2.
Please see COPYING for the terms of this license.

Distributed with this project is Apache's log4j .jar file
(lib/log4j-1.2.15.jar).  log4j is covered by the Apache License
version 2.0 (lib/log4j-1.2.15.license.txt).


COMPILING AND RUNNING

This project is Java-based and is compiled/run using ant. If you
haven't installed ant yet, please do so now.

To compile the server, run:

  ant clean-build

To compile and execute the server, run:

  ant

To clean dynamically generated files, run:

  ant clean

We strongly suggest running "ant clean" before doing any
git-related stuff, so that you don't accidentally check in
any non-source files.


CUSTOMIZING THE LISTEN PORT AND GOLDENWEB URL

GoldenServer listens for incoming client connections on a
TCP port.  By default, this port is 9133.  If you'd like
to use a different port, run ant with the optional
"-Dport=xxxx" argument.

GoldenServer polls a Web page to learn about newly defined
races.  By default, the URL it polls is:

  http://www.cs.washington.edu/homes/gribble/tmp/gs.txt

To use a different URL, run ant with the optional
"-Dgweb_url=xxxxxx" argument.

For example, you could run ant with:

  ant -Dport=6666 -Dgweb_url="http://foo.com/bz.txt"


PROTOCOL DOCUMENTATION

You can file documentation for the GoldenServer/GoldenCheetah
protocol in doc/protocol_spec.txt.

Java marshaling/unmarshaling code is in:
    src/org/goldencheetah/goldenserver/ProtocolHandler.java

C++ marshaling/unmarshaling code is in the GoldenCheetah distribution,
in the src/ProtocolHandler.cpp and src/ProtocolHandler.h.


ROBOT RIDER

For testing purposes (or to impress your friends!) we have included
RobotRider, a softbot that connects to a GoldenServer and sends
synthetic telemetry information.

To run RobotRider, give the following command (substituting in the
correct raceid, GoldenServer hostname, and GoldenServer port):

  ant robot -Draceid="519ca13cda46441a01211cffb491cf3a" \
   -Dhostname=foo.bar.com -Dport=9133

goldenserver's People

Contributors

gribble avatar

Stargazers

greg steele avatar Justin Knoetzke 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.