File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
opengrok-tools/src/main/python Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,25 @@ python3 -m pip install opengrok_tools-{version}.tar.gz
97
97
This will download all dependencies and install the package to your local python3 modules.
98
98
You can use console scripts to run the package binaries.
99
99
100
+ #### Installing to a specified directory
101
+
102
+ You can also install the tools to a specified directory, we suggest you to use the python virtual environment for it.
103
+
104
+ ``` bash
105
+ cd /opt/opengrok
106
+ python3 -m venv opengrok-tools
107
+ opengrok-tools/bin/python -m pip install opengrok_tools-{version}.tar.gz
108
+ ```
109
+
110
+ This will install the package and all the dependencies under the ` /opt/opengrok/opengrok-tools ` directory.
111
+ You can then call the scripts with
112
+
113
+ ``` bash
114
+ /opt/opengrok/opengrok-tools/bin/opengrok-indexer
115
+ /opt/opengrok/opengrok-tools/bin/opengrok-groups
116
+ ...
117
+ ```
118
+
100
119
#### Uninstalling
101
120
102
121
``` bash
You can’t perform that action at this time.
0 commit comments