Skip to content

Commit

Permalink
Add deployment instructions to Readme.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
balnarendrasapa committed Dec 15, 2023
1 parent 21b360e commit 5fe66ac
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions submissions/Deployment/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
1. 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
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
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"
open http://localhost:7860/ in you browser to see the app

0 comments on commit 5fe66ac

Please sign in to comment.