docs: mention the seed:certified-user command in the setup guide (#51174)

This commit is contained in:
Huyen Nguyen
2023-08-08 07:33:32 +07:00
committed by GitHub
parent b9391bdf89
commit 00b1f0ff4b
+10
View File
@@ -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. |