From 7d65262c3ea7119e5417870ff32aabf07c73df7c Mon Sep 17 00:00:00 2001 From: Bal Narendra Sapa Date: Fri, 15 Dec 2023 16:11:05 -0500 Subject: [PATCH] Update deployment instructions --- submissions/Deployment/Readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/submissions/Deployment/Readme.md b/submissions/Deployment/Readme.md index d9e2f2a..166f035 100644 --- a/submissions/Deployment/Readme.md +++ b/submissions/Deployment/Readme.md @@ -1,14 +1,16 @@ -1. Docker-Compose +# Deployment + +## Docker-Compose There is a docker image available with this repository. that is road-detection. git clone this repo. and cd into deployment and run docker-compose up. open http://localhost:7860/ in you browser to see the app -2. Docker +## Docker you can run the following command. This will download the image and deploy it. open http://localhost:7860/ in you browser to see the app. "docker run -p 7860:7860 -e SHARE=True ghcr.io/balnarendrasapa/road-detection:latest" -3. Python Virtual Environment +## Python Virtual Environment cd into deployment directory. and run "python -m venv .venv" to create a virtual environment. run "pip install -r requirements.txt" run "python app.py"