alessandro trinca tornidor commited on
Commit
0630615
·
1 Parent(s): 32656c4

doc: update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -48,6 +48,18 @@ To change the base relative url for custom frontend add the VITE_PREFIX environm
48
  VITE_INDEX_URL="/custom-url"
49
  ```
50
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ## About HuggingFace space dependencies
52
 
53
  For this demo simply installing `samgis-lisa` already brings all the needed dependencies.
 
48
  VITE_INDEX_URL="/custom-url"
49
  ```
50
 
51
+ ## Local environment
52
+
53
+ To execute the you can simply run from the root project folder:
54
+
55
+ - `python app.py`
56
+ - `uvicorn app:app --host 0.0.0.0 --port 7860`
57
+
58
+ It's also possible to make and run a docker build:
59
+
60
+ - `docker build . -t registry.gitlab.com/aletrn/samgis-lisa-on-cuda --progress=plain`
61
+ - `docker run -d --name samgis-lisa-on-cuda -p 7860:7860 --gpus all registry.gitlab.com/aletrn/samgis-lisa-on-cuda; docker logs -f samgis-lisa-on-cuda`
62
+
63
  ## About HuggingFace space dependencies
64
 
65
  For this demo simply installing `samgis-lisa` already brings all the needed dependencies.