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
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,37 @@ to run production app version
38
38
39
39
## MongoDb
40
40
41
-
[Instruction for Windows](./installMongo/Windows/Readme.txt)
41
+
Local `mongoUri` will be `"mongodb://localhost:27017/mydb"`
42
42
43
-
[Instruction for Ubuntu](./installMongo/Ubuntu/Readme.txt)
43
+
### Mongo installation on Windows 10
44
+
45
+
1. Download and install MongoDb server from [www.mongodb.com/try/download/community](https://www.mongodb.com/try/download/community) (set it on "D:\Program Files\" to not edit the .bat file)
46
+
47
+
2. Edit [mongo_win_install.bat](./installMongo/Windows/mongo_win_install.bat) file and fix next variables (dont use spaces around "="):
48
+
- set `MongoDb_ExePath` - path to mongod.exe
49
+
- set `MongoDb_DataFolderPath` - path to db folder
50
+
51
+
3. To start Mongo database
52
+
- run `mongo_win_install.bat` file
53
+
- or run `npm run mongo-windows:start` command with npm
0 commit comments