From 957988d977d24e4e045fa174f21eda964d23a9ce Mon Sep 17 00:00:00 2001 From: Yura Date: Sun, 9 Nov 2025 01:08:56 -0500 Subject: [PATCH 1/3] Fix the location from the docker images installation and addition of a solution from a problem i saw while installing the front --- CONTRIBUTING.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2392ea485..0cc29377a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,7 @@ cd Checkmate Navigate to the Docker dev directory: ```bash -cd server/docker/dev +cd docker/dev ``` Build the Docker images: @@ -78,13 +78,13 @@ Build the Docker images: Run MongoDB container: ```bash -docker run -d -p 27017:27017 -v $(pwd)/mongo/data:/data/db --name uptime_database_mongo uptime_database_mongo +docker docker run -d -p 27017:27017 -v uptime_mongo_data:/data/db --name uptime_database_mongo mongo:6.0 ``` Navigate back to the root directory: ```bash -cd ../../.. +cd ../.. ``` #### Step 3: Set Up the Backend (Server) @@ -161,7 +161,19 @@ Start the frontend: npm run dev ``` -The client will run at `http://localhost:5173`. +The client will run at `http://localhost:5173`. + +if there are errors then delete the node_module file and the package-lock.json + +```bash +rm -rf node_module package-lock.json +``` + +then re install + +```bash +npm install +``` #### Step 5: Access the Application From 7763c5e2882f9bf156042d3488c93977962b4767 Mon Sep 17 00:00:00 2001 From: Yura Date: Sun, 9 Nov 2025 01:15:05 -0500 Subject: [PATCH 2/3] Fix the location from the docker images installation and addition of a solution from a problem i saw while installing the front --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0cc29377a..1265c64ef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,7 +78,7 @@ Build the Docker images: Run MongoDB container: ```bash -docker docker run -d -p 27017:27017 -v uptime_mongo_data:/data/db --name uptime_database_mongo mongo:6.0 +docker run -d -p 27017:27017 -v uptime_mongo_data:/data/db --name uptime_database_mongo mongo:6.0 ``` Navigate back to the root directory: @@ -163,13 +163,13 @@ npm run dev The client will run at `http://localhost:5173`. -if there are errors then delete the node_module file and the package-lock.json +If you encounter errors during installation, remove the `node_modules` directory and `package-lock.json`: ```bash -rm -rf node_module package-lock.json +rm -rf node_modules package-lock.json ``` -then re install +Then reinstall the dependencies ```bash npm install From 4db13fb924cd57f8ce1c8853fe5f6cdf249e91f8 Mon Sep 17 00:00:00 2001 From: Alexander Holliday Date: Wed, 12 Nov 2025 09:21:02 -0800 Subject: [PATCH 3/3] Update CONTRIBUTING.md --- CONTRIBUTING.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1265c64ef..5565d3797 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -163,18 +163,6 @@ npm run dev The client will run at `http://localhost:5173`. -If you encounter errors during installation, remove the `node_modules` directory and `package-lock.json`: - -```bash -rm -rf node_modules package-lock.json -``` - -Then reinstall the dependencies - -```bash -npm install -``` - #### Step 5: Access the Application Open your browser and navigate to: