mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
fix(docs): instruction of how to install local development environment (#49808)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user