From 1106d33c8a0c19f20d076dd9041247ffb98beafe Mon Sep 17 00:00:00 2001 From: Taimoor Dawami Date: Wed, 26 Oct 2022 16:14:54 -0400 Subject: [PATCH] Update file with correct steps --- .../docs/getting-started/environment-setup.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/web/docusaurus/docs/getting-started/environment-setup.md b/src/web/docusaurus/docs/getting-started/environment-setup.md index c5c26927a8..f97cc89d6c 100644 --- a/src/web/docusaurus/docs/getting-started/environment-setup.md +++ b/src/web/docusaurus/docs/getting-started/environment-setup.md @@ -242,6 +242,7 @@ Docker builds Telescope's dependencies at launch and keeps them on disk. In some ### Seeding PostgresSQL +<<<<<<< HEAD The first time you start the database, it doesn't have any data. Therefore, we need database seeding as a way to populate the database with an initial set of data. To seed the database with initial data use the command `pnpm db:init` which will run `db:migrate` and `db:seed`. @@ -256,7 +257,15 @@ Running this command will populate the database with an initial set of data to m Finally, restart the `parser` container by running `pnpm:services start parser`/ -More information on our database can be found [here](https://telescope.cdot.systems/docs/tools-and-technologies/prisma/). +# More information on our database can be found [here](https://telescope.cdot.systems/docs/tools-and-technologies/prisma/). + +The first time you start the database, it doesn't have any data. Therefore, we need database seeding as a way to populate the database with an initial set of data to make some parts of our application work properly. + +To seed the database with initial data use the command `pnpm seed`. + +More information can be found [here](https://telescope.cdot.systems/docs/tools-and-technologies/prisma/). + +> > > > > > > 4debcaf1 (Fixes #3692 by adding database info to file) ### Start Telescope