mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
docs: mention the seed:certified-user command in the setup guide (#51174)
This commit is contained in:
@@ -283,6 +283,15 @@ 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:
|
||||
|
||||
```console
|
||||
pnpm run seed:certified-user
|
||||
```
|
||||
|
||||
> [!WARNING]
|
||||
> Running `pnpm run seed:certified-user` will log you out. You will have to clear your browser cookies and sign in again.
|
||||
|
||||
#### Step 4: Start the freeCodeCamp Client Application and API Server
|
||||
|
||||
You can now start up the API server and the client applications.
|
||||
@@ -312,5 +321,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 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