You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| jitsi_matrix_auth_proxy | 3 years ago | |
| miscellaneous | 3 years ago | |
| .gitignore | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| poetry.lock | 3 years ago | |
| pyproject.toml | 3 years ago | |
README.md
Jitsi Matrix Auth Proxy
Proxy to convert on the fly Matrix custom JWT for Jitsi to standard JWT
- install Pyenv (optional)
export PYENV_ROOT='/opt/pyenv'
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | sudo -E bash
- install Python (optional)
export PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto'
export PYTHON_CFLAGS='-march=native -mtune=native'
export PROFILE_TASK='-m test.regrtest --pgo -j0'
sudo -E $PYENV_ROOT/bin/pyenv install 3.10
- install Poetry
export POETRY_HOME='/opt/poetry'
curl -sSL https://install.python-poetry.org | sudo -E python3 -
- install app
cd /opt
sudo git clone https://github.com/watcha-fr/jitsi-matrix-auth-proxy
cd jitsi-matrix-auth-proxy
export POETRY_VIRTUALENVS_IN_PROJECT='true'
sudo -E $PYENV_ROOT/bin/pyenv local 3.10 # optional
sudo -E $POETRY_HOME/bin/poetry env use $($PYENV_ROOT/bin/pyenv which python3.10) # optional
sudo -E $POETRY_HOME/bin/poetry install