ChronoTrack forwarder

The forwarder is a program that runs locally to send reads from ChronoTrack timing systems to RACEMAP. You use the forwarder through command line, no UI.

How does the forwarder work?

  • Opens a port, default running machine: 3000

  • Listens on localhost IP: 127.0.0.1

  • RACEMAP timing API token is needed to forward data to RACEMAP

  • Set API token with environment var RACEMAP_API_TOKEN

How to use the forwarder?

  1. Get the timing API token for your RACEMAP account, contact info@racemap.com.

  2. Download the forwarder to the computer on which the ChronoTrack timing software is running.

  3. Run the forwarder with the API token as an environment variable.

  4. Configure your ChronoTrack timing software to send data to the forwarder.

  5. The forwarder will send your data to RACEMAP.

set RACEMAP_API_TOKEN=[APItoken]
.\chronotrack-to-racemap-forwarder.exe

How to operate the forwarder?

Basic

Download the latest binary for windows or for linux and run it with below commands.

  • Press Windows Key

  • Press CMD + Return to open the command line window.

  • Navigate to the download folder of the forwarder.

  • Set your API token. Replace [APItoken] with the unique API token of your RACEMAP account.

set RACEMAP_API_TOKEN=[APItoken]
.\chronotrack-to-racemap-forwarder.exe
  • start the forwarder from here: chronotrack-to-racemap-forwarder.exe + Return.

  • Shell window shows the log messages.

Expert

You can checkout the repository and operate the forwarder with below commands. Requires nodejs 18 and yarn 4.

  git clone git@github.com:racemap/chronotrack-to-racemap-forwarder.git
  cd chronotrack-to-racemap-forwarder
  yarn install
  touch .env
  sed -i '/^RACEMAP_API_TOKEN=/d' .env && echo "RACEMAP_API_TOKEN=your-api-token" >> .env
  yarn start

Adjust the default settings of the forwarder with below variables.

VariableDefaultDescription

RACEMAP_API_TOKEN

''

The API Token is required to send data to RACEMAP

LISTEN_MODE

private

The mode the service listens on, can be private or public. private binds to 127.0.0.1 public binds to 0.0.0.0

LISTEN_PORT

3000

The port on that the forwarder will listen

RACEMAP_API_HOST

The host the requests will be sent to

Last updated

Logo

Maps: ©Mapbox ©OpenStreetMap ©Racemap