docs: mention the seed:exams command in the setup guide (#52206)

This commit is contained in:
Huyen Nguyen
2023-11-03 12:56:04 +07:00
committed by GitHub
parent 16e7a04a99
commit 106bb00307
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ Ignoring these steps may soil your copy which makes the contributing, maintainin
## Contributing to the Codebase
You can now make changes to files and commit your changes to your fork, which you can prepare by reading [how to set up freecodecamp](how-to-setup-freecodecamp-locally.md).
You can now make changes to files and commit your changes to your fork, which you can prepare by reading [how to set up freeCodeCamp locally](how-to-setup-freecodecamp-locally.md).
Follow these steps:
+3 -1
View File
@@ -257,10 +257,11 @@ Next, let's seed the database. In this step, we run the below command that fills
pnpm run seed
```
By default, you will be signed in as a new user without any completed certifications. Run the following command if you need to develop with completed certifications:
By default, you will be signed in as a new user without any completed certifications. Run the following commands if you need to develop with completed certifications:
```console
pnpm run seed:certified-user
pnpm run seed:exams
```
> [!WARNING]
@@ -296,5 +297,6 @@ A quick reference to the commands that you will need when working locally.
| `pnpm install` | Installs / re-installs all dependencies and bootstraps the different services. |
| `pnpm run seed` | Creates authorized test users and inserts them into MongoDB. |
| `pnpm run seed:certified-user` | Creates authorized test users with certifications fully completed, and inserts them into MongoDB. |
| `pnpm run seed:exams` | Creates exams and inserts them into MongoDB. |
| `pnpm run develop` | Starts the freeCodeCamp API Server and Client Applications. |
| `pnpm run clean` | Uninstalls all dependencies and cleans up caches. |