This repo contains the JupyterLite config files used by the new SymPy Live. The code is deployed as a static site to GitHub Pages.
Alternative URLs:
JupyterLite is being tested against modern web browsers:
- Firefox 90+
- Chromium 89+
See Developer instructions below for installing the prerequisites.
Run jupyter lite locally:
jupyter lite serve
Build ready for distribution via static serve:
jupyter lite build
The files will be saved in _output/
.
You can test the files using any static server, for example:
cd _output/
python -m http.server
The operation of JupyterLite can be configured in several places:
jupyter_lite_config.json
: general configs for the jupyter lite build systemrepl/jupyter-lite.json
: configs specific to the REPL app. See example here.overrides.json
: customizations of the JupyterLite UIrequirements.txt
: Python packages needed to build this project (used by CI)
For more info, keep an eye on the JupyterLite documentation:
- Configuring: https://jupyterlite.readthedocs.io/en/latest/configuring.html
- Deploying: https://jupyterlite.readthedocs.io/en/latest/deploying.html
To change the version of the prebuilt JupyterLite assets, update the jupyterlite
package version in the requirements.txt file.
The requirements.txt
file can also be used to add extra prebuilt ("federated")
JupyterLab extensions to the deployed JupyterLite website.
Commit and push any changes. The site will be deployed on the next push to the main
branch.
- Create a new conda environment using virualenv or conda.
- Install Python requirements:
python -m pip install -r requirements.txt
- You can now run
jupyter lite
commands likecheck
,build
,serve
, etc.