... | ... | @@ -25,8 +25,37 @@ Command line parameters as described in [Configuration](Configuration) can be ad |
|
|
suvi install install --logs="C:\suvi-data\logs" --tasks="C:\suvi-data\tasks" --port=12882 --no-enforce
|
|
|
```
|
|
|
|
|
|
Alternatively, a configuration file can be placed in `%WINDIR%\system32\suvi.toml`.
|
|
|
Alternatively, a configuration file can be placed in `%WINDIR%\\system32\\suvi.toml`.
|
|
|
|
|
|
---
|
|
|
|
|
|
![97735509_2](uploads/9aa6584cd01a65d6787381b226fdb95d/97735509_2.png) |
|
|
\ No newline at end of file |
|
|
![97735509_2](uploads/9aa6584cd01a65d6787381b226fdb95d/97735509_2.png)
|
|
|
|
|
|
## Linux pip installation
|
|
|
|
|
|
### Step 1: Generate project specific token
|
|
|
|
|
|
1. Goto `Settings` in the suvi project
|
|
|
2. [Navigate to `Access Tokens`](https://gitlab.ecmind.ch/ecmind/suvi/-/settings/access_tokens)
|
|
|
3. Enter a discriptive name for the new token.
|
|
|
4. Consider an automatic expiration date
|
|
|
5. Select role `Developer`
|
|
|
6. Set `read_api` scope.
|
|
|
7. `Create project access token`
|
|
|
|
|
|
### Step 2: Intall with pip
|
|
|
|
|
|
```
|
|
|
python -m venv env
|
|
|
env\Scripts\activate.bat # plattform specific
|
|
|
pip install --index-url https://__token__:<token from step 1>@gitlab.ecmind.ch/api/v4/projects/139/packages/pypi/simple suvi
|
|
|
```
|
|
|
|
|
|
- The username `\__token_\_` _may_ be replaces by the token name from step 1.
|
|
|
- The placeholder `<token from step 1>` _must_ be replaced with the generated token from step 1.
|
|
|
|
|
|
On Redhat-like Linux distros (where pip3 is an older wrapper for pip and may fail) use `python 3 -m pip` if necessary:
|
|
|
|
|
|
```
|
|
|
python3 -m pip install --index-url https://__token__:<token from step 1>@gitlab.ecmind.ch/api/v4/projects/139/packages/pypi/simple suvi
|
|
|
``` |
|
|
\ No newline at end of file |