Livecomp is a software stack for running robotics competitions.
The server provides a TRPC router, as well the main match runner. It is expected that there is exactly one instance of the server for any deployment.
The client provides the console and the displays.
The console allows users to interact with the system and configure/run a competition, while the displays are used for in-venue digital signage. The displays can be remotely controlled from the console.
Requirements:
- Bun
- A Postgres server
Steps:
- In both the
packages/client
andpackages/server
directories, copy the.example.env
file to.env.
and specify your own values for the environment variables - Navigate back to the root directory (the one that contains this README)
- Run
bun install
- Run
bun db:migrate
- Navigate to the
packages/server
directory and runbun run src/main.ts create-sysadmin-user <username> <password>
to create a system administrator user - Run
bun dev
- check the client output for the port the client is running on