File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments