Skip to content

Commit

Permalink
add deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
balnarendrasapa committed Dec 15, 2023
1 parent 8fc0982 commit 5161104
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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

## 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"

## 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

[Youtube Presentation](https://youtu.be/bnyA-d6lZi8)

0 comments on commit 5161104

Please sign in to comment.