Deployment available at: https://telemetry-beta.calgarysolarcar.ca
- Make sure you're using Node 18+
- Run
corepack enable
to activate Corepack - Go into the project root
- Run
yarn set version berry
- To install all dependencies for a single workspace, run
yarn workspaces focus <workspace-name>
- To install a single package for a single workspace, run
yarn workspace <workspace-name> add <package-name>
yarn dev
Appending :client
or :server
behind the dev command will start the servers individually
yarn build
yarn start
Appending :client
or :server
behind the build command will build/start the production servers individually
Specific functions of the website require you to have certain environment variables set.
In packages/server .env
:
LAP_POSITION_PASSWORD=
LAP_TABLE_NAME=
PACKET_TABLE_NAME=
MQTT_USERNAME=
MQTT_PASSWORD=
In packages/client .env
:
NEXT_PUBLIC_MAPSAPIKEY=
Ask your lead for these keys