-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deployment instructions to Readme.txt
- Loading branch information
1 parent
21b360e
commit 5fe66ac
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |