Skip to content

Commit 5f5690e

Browse files
authored
adding contribution step for generating database schema (#602)
1 parent 720f2e4 commit 5f5690e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,20 @@
3636
docker compose -f docker-compose-dev.yml up -d
3737
```
3838

39-
6. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables.
39+
6. Generate the database schema.
40+
```sh
41+
yarn dev:prisma:migrate:dev
42+
```
43+
44+
7. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables.
4045

41-
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.
46+
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.
4247
43-
8. Start Sourcebot with the command:
48+
9. Start Sourcebot with the command:
4449
```sh
4550
yarn dev
4651
```
4752
4853
A `.sourcebot` directory will be created and zoekt will begin to index the repositories found in the `config.json` file.
4954
50-
9. Start searching at `http://localhost:3000`.
55+
10. Start searching at `http://localhost:3000`.

0 commit comments

Comments
 (0)