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
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Open [mern-notesapp.herokuapp.com](https://mern-notesapp.herokuapp.com/) or [rea
8
8
9
9
## Development
10
10
11
-
First of all, set up your project by creating `.env` file with next content:
11
+
First of all, set up your project by creating `.env` file in `./server` folder with next content:
12
12
13
13
```env
14
14
mongoUri = "<YOUR MONGO URI>"
@@ -17,6 +17,10 @@ jwtSecret = "<SECRET KEY>"
17
17
18
18
Main available scripts in the project directory:
19
19
20
+
### `npm install`
21
+
22
+
installs packages for development
23
+
20
24
### `npm run full-install`
21
25
22
26
installs client and server packages
@@ -45,7 +49,7 @@ Local `mongoUri` will be `"mongodb://localhost:27017/mydb"`
45
49
46
50
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)
47
51
48
-
2. Edit [mongo_win_install.bat](./installMongo/Windows/mongo_win_install.bat) file and fix next variables (dont use spaces around "="):
52
+
2. Edit [mongo_win_install.bat](./mongo/Windows/mongo_win_install.bat) file and fix next variables (dont use spaces around "="):
49
53
50
54
- set `MongoDb_ExePath` - path to mongod.exe
51
55
- set `MongoDb_DataFolderPath` - path to db folder
@@ -62,14 +66,14 @@ Local `mongoUri` will be `"mongodb://localhost:27017/mydb"`
0 commit comments