Skip to content

Commit a416696

Browse files
authored
The data directory must be created before a mongod starts (#913)
1 parent 2a67774 commit a416696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ $ ./gradlew check
102102
The test suite requires mongod to be running with [`enableTestCommands`](https://www.mongodb.com/docs/manual/reference/parameters/#param.enableTestCommands), which may be set with the `--setParameter enableTestCommands=1`
103103
command-line parameter:
104104
```
105+
$ mkdir -p data/db
105106
$ mongod --dbpath ./data/db --logpath ./data/mongod.log --port 27017 --logappend --fork --setParameter enableTestCommands=1
106107
```
107108

0 commit comments

Comments
 (0)