Skip to content
Snippets Groups Projects
Verified Commit cf28ca63 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Made installing master pip package more prominent.

parent 60816372
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,11 @@ A straightforward way of installing OGS is via Python's [`pip`-tool](https://pac ...@@ -53,8 +53,11 @@ A straightforward way of installing OGS is via Python's [`pip`-tool](https://pac
python -m venv .venv python -m venv .venv
.\venv\Scripts\Activate.ps1 .\venv\Scripts\Activate.ps1
# Install ogs' pip package # Install latest ogs release ({{< ogs-last-release >}}) via pip:
pip install ogs pip install ogs
# OR: Install latest ogs master (weekly) via pip:
pip install --pre --index-url https://gitlab.opengeosys.org/api/v4/projects/120/packages/pypi/simple ogs
``` ```
If you get errors when calling the `Activate.ps1` script you have to run the following command once: If you get errors when calling the `Activate.ps1` script you have to run the following command once:
...@@ -72,9 +75,11 @@ Set-Execution-Policy Unrestricted -Scope CurrentUser ...@@ -72,9 +75,11 @@ Set-Execution-Policy Unrestricted -Scope CurrentUser
python -m venv .venv # or `python3 -m venv .venv` python -m venv .venv # or `python3 -m venv .venv`
source .venv/bin/activate source .venv/bin/activate
# Install ogs' pip package # Install latest ogs release ({{< ogs-last-release >}}) via pip:
pip install ogs pip install ogs
# OR: Install latest ogs master (weekly) via pip:
pip install --pre --index-url https://gitlab.opengeosys.org/api/v4/projects/120/packages/pypi/simple ogs
``` ```
</div> </div>
...@@ -94,18 +99,6 @@ virtual environment, or add this path to your `PATH`-environment. Moreover, `pip ...@@ -94,18 +99,6 @@ virtual environment, or add this path to your `PATH`-environment. Moreover, `pip
You could also use [`pipx`](https://pypa.github.io/pipx/) for installation into an isolated environment. You could also use [`pipx`](https://pypa.github.io/pipx/) for installation into an isolated environment.
<div class="note">
### Get current development version with `pip`
The following command will download the latest development version:
```bash
pip install --pre --index-url https://gitlab.opengeosys.org/api/v4/projects/120/packages/pypi/simple ogs
```
</div>
<div class='win'> <div class='win'>
<div class="note"> <div class="note">
......
{{- $mysection := site.GetPage "/releases/" -}}
{{- range first 1 $mysection.Pages -}}
{{- .Params.tag -}}
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment