ReadmeUpdate

This commit is contained in:
fez5587 committed 2024-08-19 07:36:41 -07:00
1 parent ea19d571a3
commit 3283d45476
1 file changed
+10 -6
+10 -6
View File
@@ -33,7 +33,8 @@ Before running the web dashboard, ensure you have the following installed:
Navigate to the web_dashboard_v3 directory and install the necessary dependencies:
```cd web_dashboard_v3
```bash
cd web_dashboard_v3
npm install
```
@@ -41,23 +42,26 @@ Navigate to the web_dashboard_v3 directory and install the necessary dependencie
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
```mongod```
```bash
mongod
```
1. **Start the Web Dashboard**
In the web_dashboard_v3 directory, start the web dashboard:
```npm start```
```bash
npm start
```
### Access the Dashboard