From 3283d454769b6555ac6d3c6296970c3d76de58c6 Mon Sep 17 00:00:00 2001 From: Philip V Date: Mon, 19 Aug 2024 07:36:41 -0700 Subject: [PATCH] ReadmeUpdate --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6ac14a1..9fde965 100644 --- a/README.md +++ b/README.md @@ -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