Skip to content

JupyterLite installation of the Carbon Simulator

Notifications You must be signed in to change notification settings

sklbancor/carbon-sim-jupylite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carbon Simulator (JupyterLite Version)

Carbon resources

JupyterLite resources

  • Doc on Jupyterlite is here, repo is here,
  • Some getting-started is here
  • Repo template is here.

Settings

DNS

Required DNS settings

Record Type: CNAME
Record Name: jupytersim01 (.bancordefi.xyz)
Value: sklbancor.github.io

Requirements

Original requirements.txt

bqplot
ipycanvas>=0.9.1
ipyevents>=2.0.1
ipyleaflet
ipympl>=0.8.2
ipywidgets>=8.0.0,<9
jupyterlab~=3.5.1
jupyterlab-drawio
jupyterlab-language-pack-fr-FR
jupyterlab-language-pack-zh-CN
jupyterlab-fasta>=3,<4
jupyterlab-geojson>=3,<4
jupyterlab-tour
jupyterlab_miami_nights
jupyterlite==0.1.0b18
jupyterlite-p5-kernel==0.1.0
jupyterlite-xeus-lua==0.3.1
jupyterlite-xeus-wren==0.2.1
jupyterlite-xeus-sqlite==0.2.1
plotly>=5,<6
theme-darcula

Deploy

Original deploy.yml

name: Build and Deploy

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@v4
        with:
        python-version: '3.10'
    - name: Install the dependencies
        run: |
        python -m pip install -r requirements.txt
    - name: Build the JupyterLite site
        run: |
        cp README.md content
        jupyter lite build --contents content --output-dir dist
    - name: Upload artifact
        uses: actions/upload-pages-artifact@v1
        with:
        path: ./dist

deploy:
    needs: build
    if: github.ref == 'refs/heads/main'
    permissions:
    pages: write
    id-token: write

    environment:
    name: github-pages
    url: ${{ steps.deployment.outputs.page_url }}

    runs-on: ubuntu-latest
    steps:
    - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v1

About

JupyterLite installation of the Carbon Simulator

Resources

Stars

Watchers

Forks

Packages

No packages published