Skip to content

Commit c854138

Browse files
authored
Merge pull request #208 from jasongrout/jlite
Initial jupyterlite configuration
2 parents 22d46ae + 61c6c47 commit c854138

File tree

4 files changed

+95
-26
lines changed

4 files changed

+95
-26
lines changed

.github/workflows/deploy.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build and Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
- name: Setup Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.9'
21+
- name: Install the dependencies
22+
run: |
23+
python -m pip install -r requirements.txt
24+
- name: Build the JupyterLite site
25+
run: |
26+
jupyter lite build --contents notebooks
27+
- name: Upload (dist)
28+
uses: actions/upload-artifact@v2
29+
with:
30+
name: jupyterlite-demo-dist-${{ github.run_number }}
31+
path: ./_output
32+
33+
deploy:
34+
if: github.ref == 'refs/heads/main'
35+
needs: [build]
36+
runs-on: ubuntu-latest
37+
permissions:
38+
contents: write
39+
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v3
43+
- uses: actions/download-artifact@v2
44+
with:
45+
name: jupyterlite-demo-dist-${{ github.run_number }}
46+
path: ./dist
47+
- name: Deploy
48+
uses: JamesIves/[email protected]
49+
with:
50+
branch: gh-pages
51+
folder: dist

.nojekyll

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

repl/jupyter-lite.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"jupyter-lite-schema-version": 0,
3+
"jupyter-config-data": {
4+
"disabledExtensions": [
5+
"jupyterlab-kernel-spy",
6+
"@jupyterlite/javascript-kernel-extension"
7+
]
8+
}
9+
}
10+

requirements.txt

+33-26
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
1-
bqplot==0.12.33
2-
branca==0.5.0
3-
ipycanvas==0.12.0
4-
ipycytoscape==1.3.3
5-
ipydatagrid==1.1.12
6-
ipyevents==2.0.1
7-
ipygany==0.5.0
8-
ipyleaflet==0.16.0
9-
ipympl==0.9.1
10-
ipytree==0.2.1
11-
ipyvolume==0.6.0a8
12-
ipyvuetify==1.8.2
13-
ipywidgets==7.7.0
14-
jupyterlab==3.4
15-
mpl-interactions==0.22.0
16-
numpy
17-
orjson==3.7.7
18-
pandas
19-
pythreejs==2.3.0
20-
pyvista==0.34.0
21-
requests
22-
scikit-image
23-
scipy
24-
sidecar==0.5.1
25-
voila==0.3.5
26-
vtk==9.1.0
1+
bqplot==0.12.33
2+
branca==0.5.0
3+
ipycanvas==0.12.0
4+
ipycytoscape==1.3.3
5+
ipydatagrid==1.1.12
6+
ipyevents==2.0.1
7+
ipygany==0.5.0
8+
ipyleaflet==0.16.0
9+
ipympl==0.9.1
10+
ipytree==0.2.1
11+
ipyvolume==0.6.0a8
12+
ipyvuetify==1.8.2
13+
ipywidgets==7.7.1
14+
jupyterlab==3.4
15+
mpl-interactions==0.22.0
16+
numpy
17+
orjson==3.7.7
18+
pandas
19+
pythreejs==2.3.0
20+
pyvista==0.34.0
21+
requests
22+
scikit-image
23+
scipy
24+
sidecar==0.5.1
25+
voila==0.3.5
26+
vtk==9.1.0
27+
28+
jupyterlab-language-pack-fr-FR
29+
jupyterlab-language-pack-zh-CN
30+
jupyterlab_miami_nights
31+
jupyterlite==0.1.0b11
32+
theme-darcula
33+
jupyterlab_github

0 commit comments

Comments
 (0)