- Create a Conda environment
mamba create -n specta-dev python nodejs jupyterlab "jupyterlite-core>=0.7" "jupyterlite-xeus>=4.0.0"
mamba activate specta-dev- Install
spectain editable mode
pip install -e .- Build and serve the demo
npm run build:demo
cd demo
python -m http.server -d _output- After changing the source, rebuild the app and the extension then update the demo
npm run build:all:dev
npm run update:demoCalling update:demo instead of build:demo is faster as it does not rebuild the JupyterLite instance.