From 1be05bfd96e6c07a1dc437a794e80c10d910ba62 Mon Sep 17 00:00:00 2001 From: furbreeze Date: Wed, 5 Nov 2025 14:30:29 -0600 Subject: [PATCH] adding contribution step for generating database schema --- CONTRIBUTING.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ae301793d..f5f58631b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,15 +36,20 @@ docker compose -f docker-compose-dev.yml up -d ``` -6. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables. +6. Generate the database schema. + ```sh + yarn dev:prisma:migrate:dev + ``` + +7. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables. -7. If you're using a declarative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file. +8. If you're using a declarative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file. -8. Start Sourcebot with the command: +9. Start Sourcebot with the command: ```sh yarn dev ``` A `.sourcebot` directory will be created and zoekt will begin to index the repositories found in the `config.json` file. -9. Start searching at `http://localhost:3000`. +10. Start searching at `http://localhost:3000`.