You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,12 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
44
44
6. Install MongoDB
45
45
```
46
46
brew tap mongodb/brew
47
-
brew install mongodb-community@4.4
47
+
brew install mongodb-community@5.0
48
48
```
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.
50
50
7. Start MongoDB
51
51
```
52
-
brew services start mongodb-community@4.4
52
+
brew services start mongodb-community@5.0
53
53
```
54
54
55
55
### Start
@@ -60,6 +60,18 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
60
60
```
61
61
2. Browse to [http://localhost:3000](http://localhost:3000)
62
62
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
+
63
75
### Test
64
76
65
77
- Run all tests
@@ -73,18 +85,6 @@ REPLACE THIS TEXT WITH A LINK TO YOUR CARD WALL
73
85
npm run test:integration # integration tests only
74
86
```
75
87
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
-
88
88
## MongoDB Connection Errors?
89
89
90
90
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