You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added requirements.txt and Dockerfile
Merge branch 'main' into add-docker
Refactored dockerfile and created entrypoint script for using env vars
Updated docker run examples. Refactored bootstrap code
Added error for moving downloaded matterport to correct directory
Remnoved show_case from js files, updated readme to run detatched mode
added missing js files to aray
Merge branch 'main' of github.com:rebane2001/matterport-dl into add-docker
fixed uncaught merge conflict
Made requested changes from PR
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,33 @@ A tool to download/archive [Matterport](https://matterport.com) virtual tours.
14
14
- Add `--proxy 127.0.0.1:1234` to a download run to use a proxy for requests
15
15
- Add `--advanced-download` to a download run to try and download the needed textures and files for supporting dollhouse/floorplan views. NOTE: Must use built in webserver to host content for this to work.
16
16
17
+
# Docker
18
+
## Docker params
19
+
```
20
+
docker build -t matterport-dl .
21
+
docker run -v $(pwd)/clones:/matterport-dl/clones -e M_ID=[url_or_page_id] matterport-dl
* It is possible to host these Matterport archives using standard web servers however: 1) Certain features beyond the tour itself may not work. 2) #1 may be fixable by specific rewrite rules for apache/nginx. These are not currently provided but if you look at `OurSimpleHTTPRequestHandler` class near the bottom of the source file you can likely figure out what redirects we do.
print ("View in browser: http://localhost:"+sys.argv[3])
543
+
else:
544
+
print ("View in browser: http://"+sys.argv[2] +":"+sys.argv[3])
516
545
httpd.serve_forever()
517
546
else:
518
547
print (f"Usage:\n\tFirst Download: matterport-dl.py [url_or_page_id]\n\tThen launch the server 'matterport-dl.py [url_or_page_id] 127.0.0.1 8080' and open http://127.0.0.1:8080 in a browser\n\t--proxy 127.0.0.1:1234 -- to have it use this web proxy\n\t--advanced-download -- Use this option to try and download the cropped files for dollhouse/floorplan support")
0 commit comments