From 50c532d6b88bd7f4f6dcd1aeba8a5fa08c025f88 Mon Sep 17 00:00:00 2001 From: "anupam." <43881706+oneanupam@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:50:45 +0530 Subject: [PATCH 1/5] chore: updated the readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7fb53ca..415ec91 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,9 @@ To check the webapp, open a browser and hit the below URL - curl http://localhost:5000 ``` -**Note:** -- ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. -- Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. +> [!IMPORTANT] +> ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. +> Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. ## References - https://www.warp.dev/terminus/docker-logs-tail From 792b646bed9ea018f9f9262cfa19a90fefa2df22 Mon Sep 17 00:00:00 2001 From: "anupam." <43881706+oneanupam@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:53:28 +0530 Subject: [PATCH 2/5] chore: updated the readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 415ec91..470c56b 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ To check the webapp, open a browser and hit the below URL - ``` > [!IMPORTANT] -> ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. -> Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. +1. ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. +2. Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. ## References - https://www.warp.dev/terminus/docker-logs-tail From 82ddad8aa2287ec85893c5d9bce0cf184fc664e4 Mon Sep 17 00:00:00 2001 From: "anupam." <43881706+oneanupam@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:53:54 +0530 Subject: [PATCH 3/5] chore: updated the readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 470c56b..d38cf45 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ To check the webapp, open a browser and hit the below URL - ``` > [!IMPORTANT] -1. ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. -2. Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. +> 1. ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. +> 2. Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. ## References - https://www.warp.dev/terminus/docker-logs-tail From 4939738aa111ba8abcbdea61db4064c024937c27 Mon Sep 17 00:00:00 2001 From: "anupam." <43881706+oneanupam@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:54:31 +0530 Subject: [PATCH 4/5] chore: updated the readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d38cf45..77a5ef5 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ To check the webapp, open a browser and hit the below URL - ``` > [!IMPORTANT] -> 1. ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. -> 2. Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. +> - ( . ) tells about the build context. The build context is the current directory (.), which should contain your application code and the Dockerfile. Pass the Dockerfile, if its name is not exactly Dockerfile. +> - Port mapping is used to access the services running inside a Docker container. In the above case, we can now access the application using port 5000 on the host machine. ## References - https://www.warp.dev/terminus/docker-logs-tail From fd3b79cd85a1fe5bc78c4311ffa2dfd01e74c9ad Mon Sep 17 00:00:00 2001 From: "anupam." <43881706+oneanupam@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:55:20 +0530 Subject: [PATCH 5/5] chore: updated the readme --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 77a5ef5..d56a837 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,10 @@ example-app-venv\Scripts\activate pip install -r requirements.txt ``` -**Note:** -- Activation makes the virtual environment the default Python interpreter for the duration of a shell session. Because, This will prepend that directory to your PATH, so that running python will invoke the virtual environment’s Python interpreter. As an indication of virtual environment activation, current shell prompt will prepend the name of the virtual environment you are currently using. - -- To deactivate the environment, simply type `deactivate` and you will return to your normal shell. - -- Within the virtual environment, you can use the command `pip` instead of `pip3` and `python` instead of `python3`. +> [!Note] +> - Activation makes the virtual environment the default Python interpreter for the duration of a shell session. Because, This will prepend that directory to your PATH, so that running python will invoke the virtual environment’s Python interpreter. As an indication of virtual environment activation, current shell prompt will prepend the name of the virtual environment you are currently using. +> - To deactivate the environment, simply type `deactivate` and you will return to your normal shell. +> - Within the virtual environment, you can use the command `pip` instead of `pip3` and `python` instead of `python3`. ## Run and Test the App on Local Machine To start the web server of the app, execute the below command -