An open-source platform for comparing LLMs
Install dependencies and start the development environment.
- Ensure you have Bun, Docker, and Mprocs installed
- Fill out the environment variables in
.env.example
and rename it to.env
.- Create a separate Github oauth app
- Set the redirect URI to
http://localhost:3000/api/auth/callback/github
- You will need a sendgrid API key if you want to send emails
- Run
mprocs
to start the development environment. This will install dependencies, spin up a postgres docker instance, and prisma studio. - Run
bun db:sync
to apply pending migrations and create the prisma client - Run
bun db:seed
to seed the database with initial data
See the Prisma Documentation on how to apply migrations and further manipulate the database.
- Set the environment variables in
.env
or in you hosting provider's environment variable settings. - Run
bun run build
to create a production build - Run
bun run start
to start the production server