Skip to content

Commit 9e96f30

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main' into main
2 parents d821a28 + a718b3a commit 9e96f30

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
name: Python package
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
23

4+
name: build
35
on:
46
push:
5-
branches: [ $default-branch ]
7+
branches: [ main ]
68
pull_request:
7-
branches: [ $default-branch ]
9+
branches: [ main ]
810

911
jobs:
1012
build:
1113

1214
runs-on: ubuntu-latest
1315
strategy:
1416
matrix:
15-
python-version: [3.6, 3.7, 3.8]
17+
python-version: [3.5, 3.6, 3.7, 3.8]
1618

1719
steps:
1820
- uses: actions/checkout@v2
@@ -29,7 +31,7 @@ jobs:
2931
run: |
3032
# stop the build if there are Python syntax errors or undefined names
3133
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
32-
# exit-zero treats all errors as warnings
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3335
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3436
- name: Test with pytest
3537
run: |

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
![build](https://github.com/FZJ-JSC/jupyter-xprahtml5-proxy/workflows/build/badge.svg)
2+
13
# jupyter-xprahtml5-proxy
2-
--------------------------
34
Integrate Xpra in your Jupyter environment for an fast, feature-rich and easy to use remote desktop in the browser.
45

56
## Requirements
6-
---------------
7-
87
- Python 3.6+
98
- Jupyter Notebook 6.0+
109
- JupyterLab 2.1+
@@ -20,23 +19,19 @@ Best of it. It is fast, fast, fast and comes with a build-in html5 client to all
2019
[Jupyter-Server-Proxy](https://jupyter-server-proxy.readthedocs.io) lets you run arbitrary external processes (such as Xpra-HTML5) alongside your notebook, and provide authenticated web access to them.
2120

2221
## Install
23-
----------
2422

2523
#### Create and Activate Environment
26-
2724
```
2825
virtualenv -p python3 venv
2926
source venv/bin/activate
3027
```
3128

3229
#### Install jupyter-xprahtml5-proxy
33-
3430
```
3531
pip install git+https://github.com/FZJ-JSC/jupyter-xprahtml5-proxy.git
3632
```
3733

3834
#### Enable jupyter-xprahtml5-proxy Extensions
39-
4035
For Jupyter Classic, activate the jupyter-server-proxy extension:
4136
```
4237
jupyter serverextension enable --sys-prefix jupyter_server_proxy
@@ -49,13 +44,10 @@ jupyter lab build
4944
```
5045

5146
#### Start Jupyter Classic or Jupyter Lab
52-
5347
Click on the Xpra icon from the Jupyter Lab Launcher or the Xpra item from the New dropdown in Jupyter Classic.
5448
Connect to your database as instructed in the Quickstart section.
5549

5650
## Configuration
57-
----------------
58-
5951
This package calls `xpra` with a bunch of settings. Please read the [Xpra manual](https://xpra.org/manual.html) if you want to now the details.
6052
You have to modify `setup_xprahtml5()` in `jupyter_xprahtml5/__init__.py` for change.
6153

0 commit comments

Comments
 (0)