Skip to content

Commit a81bcc2

Browse files
authored
Merge pull request makersacademy#213 from makersacademy/change-localhost
Update README to use less problematic version of mongodb
2 parents a474f35 + 9fe856c commit a81bcc2

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
4444
6. Install MongoDB
4545
```
4646
brew tap mongodb/brew
47-
brew install mongodb-community@4.4
47+
brew install mongodb-community@5.0
4848
```
49-
*Note:* If you see a message that says `If you need to have mongodb-community@4.4 first in your PATH, run:`, follow the instruction and run the following command. Restart your terminal after this.
49+
*Note:* If you see a message that says `If you need to have mongodb-community@5.0 first in your PATH, run:`, follow the instruction. Restart your terminal after this.
5050
7. Start MongoDB
5151
```
52-
brew services start mongodb-community@4.4
52+
brew services start mongodb-community@5.0
5353
```
5454

5555
### Start
@@ -60,6 +60,18 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
6060
```
6161
2. Browse to [http://localhost:3000](http://localhost:3000)
6262

63+
#### Start test server
64+
65+
The server must be running locally with test configuration for the
66+
integration tests to pass.
67+
68+
```
69+
npm run start:test
70+
```
71+
72+
This starts the server on port `3030` and uses the `acebook_test` MongoDB database,
73+
so that integration tests do not interact with the development server.
74+
6375
### Test
6476

6577
- Run all tests
@@ -73,18 +85,6 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
7385
npm run test:integration # integration tests only
7486
```
7587

76-
#### Start test server
77-
78-
The server must be running locally with test configuration for the
79-
integration tests to pass.
80-
81-
```
82-
npm run start:test
83-
```
84-
85-
This starts the server on port `3030` and uses the `acebook_test` MongoDB database,
86-
so that integration tests do not interact with the development server.
87-
8888
## MongoDB Connection Errors?
8989

9090
Some people occasionally experience MongoDB connection errors when running the tests or trying to use the application. Here are some tips which might help resolve such issues.

0 commit comments

Comments
 (0)