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
Copy file name to clipboardExpand all lines: docker/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,12 @@ You can also compile the image on your machine. Go to the root GumTree's folder
9
9
## Usage
10
10
11
11
To use GumTree's image, You need to:
12
-
* bind the "original" folder to the `/diff/left` volume of the container
13
-
* bind the "modified" folder to the `/diff/right` volume of the container
12
+
* bind the "original" folder to the `/left` volume of the container
13
+
* bind the "modified" folder to the `/right` volume of the container
14
14
* bind the port `4567` of the container to access GumTree's web interface
15
15
16
-
The classical way to run a GumTree's container is the command `docker run --rm -v /my/original-folder:/diff/left -v /my/modified-folder:/diff/right -p 4567:4567 gumtreediff/gumtree webdiff left/ right/`. You can consult the diff at the URL `http://localhost:4567`. Of course, all other GumTree's commands are available.
16
+
The classical way to run a GumTree's container is the command `docker run --rm -v /my/original-folder:/left -v /my/modified-folder:/right -p 4567:4567 gumtreediff/gumtree webdiff /left /right`.
17
+
You can consult the diff at the URL `http://localhost:4567`. Of course, all other GumTree's commands are available.
17
18
18
19
**Beware, the paths inputs to GumTree's commands are relative to the `/diff` path inside the container.**
19
20
@@ -25,13 +26,13 @@ You can easily integrate GumTree's container with Git by adding the following co
@@ -46,4 +47,4 @@ You can then use the command `git gd`.
46
47
47
48
## Debug
48
49
49
-
If you want to debug GumTree's image use the following command line: `docker run --rm -it -v /my/original-folder:/diff/left -v /my/modified-folder:/diff/right -p 4567:4567 --entrypoint "/bin/bash" gumtreediff/gumtree`.
50
+
If you want to debug GumTree's image use the following command line: `docker run --rm -it -v /my/original-folder:/left -v /my/modified-folder:/right -p 4567:4567 --entrypoint "/bin/bash" gumtreediff/gumtree`.
0 commit comments