fix(docs): upgrade to mongodb 4.0 (#41557)

* fix(docs): upgrade to mongodb 4.0

* chore(docs): apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
This commit is contained in:
Mrugesh Mohapatra
2021-03-26 00:53:43 +05:30
committed by GitHub
parent ad9b1f89d8
commit c75cd9ae53
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ Some community members also develop on Windows 10 natively with Git for Windows
| ----------------------------- | ------- | -------------------------------------------------------------------- |
| [Node.js](http://nodejs.org) | `14.x` | [LTS Schedule](https://github.com/nodejs/Release#release-schedule) |
| npm (comes bundled with Node) | `6.x` | Does not have LTS releases, we use the version bundled with Node LTS |
| [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `3.6` | [Release Notes](https://docs.mongodb.com/manual/release-notes/), Note: We are currently on `3.6`, an [upgrade is planned](https://github.com/freeCodeCamp/freeCodeCamp/issues/18275). |
| [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `4.0.x` | [Release Notes](https://docs.mongodb.com/v4.0/release-notes/) |
> [!DANGER]
> If you have a different version, please install the recommended version. We can only support installation issues for recommended versions. See [troubleshooting](#troubleshooting) for details.

View File

@ -69,10 +69,10 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to
1. Launch a new Ubuntu-18.04 terminal
2. Pull `MongoDB 3.6` from dockerhub
2. Pull `MongoDB 4.0.x` from dockerhub
```console
docker pull mongo:3
docker pull mongo:4.0
```
3. Start the MongoDB service at port `27017`, and configure it to run automatically on system restarts
@ -83,7 +83,7 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to
-p 27017:27017 \
--name mongodb \
--restart unless-stopped \
-d mongo:3
-d mongo:4.0
```
4. You can now access the service from both Windows or Ubuntu at `mongodb://localhost:27017`.