Skip to content

Commit 71d70a1

Browse files
Modify: Install guide
1 parent f7903bb commit 71d70a1

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,28 @@ Follow these steps to set up and run the Contact File Backend Service locally:
5252
```
5353
- The service will be running on `http://localhost:5000` by default.
5454

55-
2. Docker Installation
55+
2. Docker Installation (Prerequisites : Docker)
5656

57-
1. **Pull image**
58-
- Pull the docker image from Docker Hub
57+
1. **Clone the Repository**
58+
59+
- Clone the repository.
60+
```bash
61+
git clone https://github.com/CodeChefVIT/contactify-backend
62+
```
63+
- Navigate to the cloned directory and run
5964
```bash
60-
docker pull shivamgutgutia/contactify:latest
65+
cd contactify-backend/backend
6166
```
62-
2. **Run Container**
63-
- Create and run a container using the image pulled
67+
2. **Configuration**
68+
69+
- Create a `.env` file in the current directory.
70+
- Define environment variables such as:
71+
- `PORT=5000`
72+
73+
2. **Build and Run Container**
74+
- Create and run the container
6475
```bash
65-
docker run -d -p 5000:5000 shivamgutgutia/contactify:latest
76+
docker-compose up --build
6677
```
6778
- The service will be running on `http://localhost:5000`.
6879

0 commit comments

Comments
 (0)