Fix the location from the docker images installation and addition of a solution from a problem i saw while installing the front

This commit is contained in:
Yura committed 2025-11-09 01:08:56 -05:00
1 parent 7cb985116e
commit 957988d977
1 file changed
+15 -3
+15 -3
View File
@@ -66,7 +66,7 @@ cd Checkmate
Navigate to the Docker dev directory: Navigate to the Docker dev directory:
```bash ```bash
cd server/docker/dev cd docker/dev
``` ```
Build the Docker images: Build the Docker images:
@@ -78,13 +78,13 @@ Build the Docker images:
Run MongoDB container: Run MongoDB container:
```bash ```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: Navigate back to the root directory:
```bash ```bash
cd ../../.. cd ../..
``` ```
#### Step 3: Set Up the Backend (Server) #### Step 3: Set Up the Backend (Server)
@@ -163,6 +163,18 @@ 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 #### Step 5: Access the Application
Open your browser and navigate to: Open your browser and navigate to: