File tree Expand file tree Collapse file tree 3 files changed +18
-13
lines changed
Expand file tree Collapse file tree 3 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,18 @@ Check for readme.md files and install dependencies for folders
3333 npm install
3434 ```
3535
36+ 4 . go to cli folder
37+ 1 . Install pnpm
38+ Since pnpm is required, you need to install it globally if it's not already installed:
39+ ```
40+ npm install -g pnpm
41+ ```
42+ 2 . Run the Setup Script
43+ Now, run the main setup script specified in the package.json:
44+ ```
45+ npm run setup-repo
46+ ```
47+
3648## Scripts
3749- ` npm start ` : Starts the main server by running index.js.
3850- ` npm run api ` : Navigates to the api directory and runs the development server.
Original file line number Diff line number Diff line change 22
33This is the migration V2's node server.
44
5- ## To start the server
6-
7- 1 . Run ` npm i `
8- 2 . Install and start MongoDB
9-
10- ### To start MongoDB
11-
12- 1 . Install MongoDB on your system.
13- 2 . Start the MongoDB service.
14- 3 . Verify that MongoDB is running by opening a command prompt and running the command ` mongo --version ` .
15-
165## Environment Variables
176The following environment variables are used in this project:
187
@@ -24,3 +13,7 @@ Make sure to set these variables in a `.env` file at the root of your project.
24131 . To run the development server, create a ` ./development.env ` file and add environment variables as per ` ./example.env `
25142 . To run the production server, create a ` ./production.env ` file and add environment variables as per ` ./example.env `
2615
16+ ## To start the server
17+
18+ 1 . Run ` npm i `
19+
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ npm install
1818The following environment variables are used in this project:
1919
2020- ` PORT ` : The port number on which the application runs. Default is ` 4002 ` .
21- - ` NODE_BACKEND_API ` : The backend API endpoint. Default is ` http://localhost:5000 ` .
21+ - ` NODE_BACKEND_API ` : The backend API endpoint. Default is ` http://localhost:5001 ` .
2222
2323Make sure to set these variables in a ` .env ` file at the root of your project.
2424
@@ -39,7 +39,7 @@ The following configuration is used in this project:
3939- ` buketKey ` : The key for the AWS S3 bucket. Default is ` project/package 45.zip ` .
4040
4141### Local Path
42- - ` localPath ` : The local path to the extracted files. for example is ` /upload-api/extracted_files/package 45.zip ` .
42+ - ` localPath ` : The local path to the extracted files. for example ` /upload-api/extracted_files/package 45.zip ` .
4343
4444## Repository
4545- Type: git
You can’t perform that action at this time.
0 commit comments