Server to distribute incoming data from Solar Car 1 to instances of the Solar Car 1 Engineering Dashboard.
This server is meant to be run within a Linux shell (bash). Windows command-line shells are not supported. If running this server in a Windows command-line shell, using Docker is recommended.
Start script usage: npm start [-- <OPTIONS>]
-
Available options:
-s | --submodule-commit <commit>
: Use a specific commit for thesc1-data-format
submodule.commit
: SHA-1 of the desiredsc1-data-format
commit to use.
-d | --dev
: Run the server in "dev" configuration, which means that the server will run on the same computer as the TCP server from which it receives data and the engineering dashboard.-i | --individual
: Run the server in "individual" configuration, which means that the server will receive data from the Raspberry Pi and will run on the same computer as the engineering dashboard.
Building the image: docker build </path/to/project>
Running the image: docker run -p 4002:4002 -i -a stdin -a stdout -a stderr <IMAGE> [-- <RUN_ARGS>]
, where RUN_ARGS
are the same as the options in Command Line Usage.
- The
-i -a stdin -a stdout -a stderr
options are passed to enable interaction with the server via the command line.