fix(docs): instruction of how to install local development environment (#49808)

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
Muhammed Mustafa
2023-03-23 21:31:43 +02:00
committed by GitHub
parent a0f958189e
commit 7761915f39
2 changed files with 6 additions and 5 deletions

View File

@@ -46,12 +46,12 @@ tasks:
cp sample.env .env &&
pnpm install &&
gp sync-done pnpm-install &&
gp ports await 27017 &&
pnpm run seed &&
mongo --eval "db.fsyncLock(); db.fsyncUnlock()"
gp ports await 27017
command: >
pnpm run create:config &&
pnpm run build:curriculum &&
pnpm run seed &&
mongo --eval "db.fsyncLock(); db.fsyncUnlock()" &&
gp ports await 27017 &&
pnpm run develop:server

View File

@@ -55,10 +55,11 @@ To run tests against production builds, replace `dev` with `prd` below.
If starting the GitPod environment did not automatically develop the environment:
- Start the database
- Follow the [MongoDB installation guide](https://www.mongodb.com/basics/get-started).
- Create a config file.
```console
mongod
pnpm run create:config
```
- Seed the database