Skip to content

Commit bdbf82c

Browse files
authored
[README] Nix the MongoDB service (#4291)
1 parent 99d9257 commit bdbf82c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,12 @@ A rapid word collection tool. See the [User Guide](https://sillsdev.github.io/Th
106106

107107
After installation:
108108
- Add mongo's `/bin` directory to your PATH environment variable.
109-
- Disable automatically start of the `mongod` service on your development host.
109+
- On Windows, the installer creates a `MongoDB` service that starts automatically and does not use replica sets,
110+
which will conflict with `npm run database`. Remove it (in an elevated PowerShell):
111+
```powershell
112+
Stop-Service -Name MongoDB
113+
sc.exe delete MongoDB
114+
```
110115
- If `mongosh` is not a recognized command, you may have to separately install the
111116
[MongoDB Shell](https://www.mongodb.com/try/download/shell) and add its `/bin` to your PATH.
112117
- If `mongoimport` is not a recognized command, you may have to separately install the

0 commit comments

Comments
 (0)