Trackmate is a comprehensive web application designed for simracing teams to streamline their racing operations and enhance team collaboration. It's an all-in-one solution that eliminates the need to search across multiple Discord servers for essential information and tools. The app provides tools for scheduling and managing racing events, and tracking race results. Most importantly, its integrated telemetry sharing system allows drivers to exchange and study performance data, helping the entire team improve their racing capabilities.
Please ensure you have the following installed:
- Node.js
- Package manager (such as
npmorbun) - Git
-
Clone the repository
Open your terminal and run:
git clone https://github.com/matibox/trackmate.git
-
Install dependencies using
npmorbunGo to project directory
cd trackmateInstall dependencies
npm install bun install
-
Setup environment variables
First, copy
.env.exampleand rename it to.envAUTH_SECRET
It's needed for
NextAuth, can be any stringDATABASE_URL
Defaults to
file:./db.sqlite. If you have your own SQLite database, insert its connection string here.Please follow instructions from here
-
Push the database using
npmorbunnpm run db:push bun run db:push
-
Build the project using
npmorbunnpm run build bun run build
-
Run the server using
npmorbunnpm start bun start
After a while, the server should be up on http://localhost:3000/