Simple dashboard to use for fun outreach purposes and experiment with Panel. Comes with a suitable development environment defined in environment.yml including jupyter-panel-proxy which enables a convenient Panel server accessible through Jupyter.
To set up locally:
- Clone this project
git clone https://github.com/Swarm-DISC/fun-with-swarm.git` cd fun-with-swarm - Install rubberband (e.g.
sudo apt install rubberband-cli) - Install the conda environment:
conda env create --file environment.yml --name funswarm conda activate funswarm - Launch Jupyter:
jupyter lab &
Add notebooks to notebooks/ and extend the list in jupyter-panel-proxy.yml to make them available to the Panel server.
Problems:
- holoviz/panel#3170
- Binder is often slow... how to speed up?
- Every time the repo changes, the images will need to be rebuilt. Could set up a separate repository to define a good environment that won't change often, use that to launch the binder and then nbgitpuller to add this one? (https://discourse.jupyter.org/t/how-to-reduce-mybinder-org-repository-startup-time/4956)
- Set up a dedicated panel server