Skip to content

Commit

Permalink
[Website] Production to scale, event date (#7843)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 9f56d35736d9bfa900a84df462f8f7fada5e1ed0
  • Loading branch information
gitFoxCode authored and Manul from Pathway committed Dec 10, 2024
1 parent 75b0fa8 commit 70f5cee
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions docs/2.developers/4.user-guide/10.introduction/20.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,69 @@ Some [public repos](https://github.com/pathwaycom) which are complementary to th

Some features of Pathway such as monitoring or advanced connectors (e.g., SharePoint) require a free license key.
To obtain a free license key, you need to register [here](https://pathway.com/get-license).

## Pathway enterprise package installation

::alert{type="info" class="max-w-max" icon="heroicons:information-circle-20-solid"}
Use **python3.10** or above
::

### Configure pip to use private PyPI repository

Create or modify the `pip` configuration file to point to your private repository.

Add the following to `~/.pip/pip.conf`:

```conf [~/.pip/pip.conf]
[global]
extra-index-url = https://<username>:<password>@<URL>
```

Install the package:

```bath
pip install -U pathway
```

Alternatively extra index url can be passed directly to the install command:

```bath
pip install -U pathway --extra-index-url=https://<username>:<password>@<URL>
```

::alert{type="info" icon="heroicons:information-circle-20-solid"}
Replace `<URL>`, `<username>` and `<password>` with credentials obtained from Pathway.
::

### Using Pathway with enterprise license

To use Pathway with an enterprise license, obtain the license file from Pathway and set the license key using one of the following methods:

1. Environment variable

```env
PATHWAY_LICENSE_KEY=file:///path/to/license.lic
```

Or inlined

```
PATHWAY_LICENSE_KEY="-----BEGIN LICENSE FILE-----
...
-----END LICENSE FILE-----"
```

2. Directly in the python code

```python
import pathway as pw

pw.set_license_key("file:///path/to/license.lic")

# or linlined
pw.set_license_key("""-----BEGIN LICENSE FILE-----
...
-----END LICENSE FILE-----""")

pw.run()
```

0 comments on commit 70f5cee

Please sign in to comment.