Skip to content

Commit

Permalink
Merge pull request #208 from jasongrout/jlite
Browse files Browse the repository at this point in the history
Initial jupyterlite configuration
  • Loading branch information
ibdafna committed Jul 12, 2022
2 parents 22d46ae + 61c6c47 commit c854138
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 26 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/deploy.yml
@@ -0,0 +1,51 @@
name: Build and Deploy GitHub Pages

on:
push:
branches:
- main
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install the dependencies
run: |
python -m pip install -r requirements.txt
- name: Build the JupyterLite site
run: |
jupyter lite build --contents notebooks
- name: Upload (dist)
uses: actions/upload-artifact@v2
with:
name: jupyterlite-demo-dist-${{ github.run_number }}
path: ./_output

deploy:
if: github.ref == 'refs/heads/main'
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/download-artifact@v2
with:
name: jupyterlite-demo-dist-${{ github.run_number }}
path: ./dist
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages
folder: dist
1 change: 1 addition & 0 deletions .nojekyll
@@ -0,0 +1 @@

10 changes: 10 additions & 0 deletions repl/jupyter-lite.json
@@ -0,0 +1,10 @@
{
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"disabledExtensions": [
"jupyterlab-kernel-spy",
"@jupyterlite/javascript-kernel-extension"
]
}
}

59 changes: 33 additions & 26 deletions requirements.txt
@@ -1,26 +1,33 @@
bqplot==0.12.33
branca==0.5.0
ipycanvas==0.12.0
ipycytoscape==1.3.3
ipydatagrid==1.1.12
ipyevents==2.0.1
ipygany==0.5.0
ipyleaflet==0.16.0
ipympl==0.9.1
ipytree==0.2.1
ipyvolume==0.6.0a8
ipyvuetify==1.8.2
ipywidgets==7.7.0
jupyterlab==3.4
mpl-interactions==0.22.0
numpy
orjson==3.7.7
pandas
pythreejs==2.3.0
pyvista==0.34.0
requests
scikit-image
scipy
sidecar==0.5.1
voila==0.3.5
vtk==9.1.0
bqplot==0.12.33
branca==0.5.0
ipycanvas==0.12.0
ipycytoscape==1.3.3
ipydatagrid==1.1.12
ipyevents==2.0.1
ipygany==0.5.0
ipyleaflet==0.16.0
ipympl==0.9.1
ipytree==0.2.1
ipyvolume==0.6.0a8
ipyvuetify==1.8.2
ipywidgets==7.7.1
jupyterlab==3.4
mpl-interactions==0.22.0
numpy
orjson==3.7.7
pandas
pythreejs==2.3.0
pyvista==0.34.0
requests
scikit-image
scipy
sidecar==0.5.1
voila==0.3.5
vtk==9.1.0

jupyterlab-language-pack-fr-FR
jupyterlab-language-pack-zh-CN
jupyterlab_miami_nights
jupyterlite==0.1.0b11
theme-darcula
jupyterlab_github

0 comments on commit c854138

Please sign in to comment.