conda create -n GiN python=3.10 jupyterlab=3.6 ipywidgets=8.0 nodejs=16 -y
npm install -g yarn
pip install ipyuploads
pip install nbtools
jupyter nbextension install --py nbtools --sys-prefix
jupyter nbextension enable --py nbtools --sys-prefix
pip install bioblend
pip install galaxy-gin==0.1.0a8
jupyter nbextension install --py --symlink --overwrite --sys-prefix GiN
jupyter nbextension enable --py --sys-prefix GiN
For a development installation (requires Node.js and Yarn version 1),
$ cd GiN
$ npm install @g2nb/nbtools
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix GiN
$ jupyter nbextension enable --py --sys-prefix GiN
$ jupyter labextension develop --overwrite GiN
Then you need to rebuild the JS when you make a code change:
$ cd js
$ yarn run build
You then need to refresh the JupyterLab page when your javascript changes.
A Docker image with GiN and the full JupyterLab stack is available through DockerHub.
docker pull jayadevjoshi12/gin:latest
docker run --rm -p 8888:8888 jayadevjoshi12/gin:latest