ReadmeUpdate

This commit is contained in:
fez5587 committed 2024-08-19 07:36:41 -07:00
1 parent ea19d571a3
commit 3283d45476
1 file changed
+14 -10
+14 -10
View File
@@ -31,33 +31,37 @@ Before running the web dashboard, ensure you have the following installed:
```
2. **Install Dependencies**
Navigate to the web_dashboard_v3 directory and install the necessary dependencies:
Navigate to the web_dashboard_v3 directory and install the necessary dependencies:
```cd web_dashboard_v3
```bash
cd web_dashboard_v3
npm install
```
3. **Set Up Environment Variables**
Create a .env file in the web_dashboard_v3 directory and add the necessary environment variables. For example:
Create a .env file in the web_dashboard_v3 directory and add the necessary environment variables. For example:
```MONGO_URI=mongodb://localhost:27017/pq_inventory
```bash
MONGO_URI=mongodb://localhost:27017/pq_inventory
PORT=3000
```
### Running the Web Dashboard
Ensure MongoDB is running on your machine. You can start it using the following command
Ensure MongoDB is running on your machine. You can start it using the following command
```mongod```
```bash
mongod
```
1. **Start the Web Dashboard**
In the web_dashboard_v3 directory, start the web dashboard:
In the web_dashboard_v3 directory, start the web dashboard:
```npm start```
```bash
npm start
```
### Access the Dashboard