mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
docs: mention the seed:exams command in the setup guide (#52206)
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user