yarn
yarn start
yarn storybook
yarn dev
yarn dev -t
yarn test
If config.yaml
is found in the root folder of this repository it is expected to contain team data formatted as follows.
teams:
- name: Red Team
address: 239.226.152.162
port: 9917
- name: Blue Team
address: 239.226.152.162
port: 9917
If this file is not found then team data is expected to be found on the command line.
Command line arguments are only parsed if no cnofiguration file is found. In this instance the command line arguments are expected to be provided as a space-separated list of space-separated tuples of the form <team name> <multicast/broadcast address> <port>
. For example,
$ yarn start "Red Team" 239.226.152.162 9917 "Blue Team" 239.226.152.162 991
NOTE: If there are any spaces (or any other special charcters) in the team name, the team name must be wrapped in double quotes (and special characters appropriately escaped).