jupyterlab-dash icon indicating copy to clipboard operation
jupyterlab-dash copied to clipboard

Investigate nbserver proxy for use with JupyterHub

Open jonmmease opened this issue 7 years ago • 2 comments

I just came across nbserverproxy (https://github.com/jupyterhub/nbserverproxy), and it looks like it could be a nice solution for supporting this extension over JupyterHub.

jonmmease avatar Dec 20 '18 10:12 jonmmease

Am I following this right that jupyterlab-dash isn't supported inside a jupyterhub environment at the moment?

Seems to be the case as I have a docker image:

FROM jupyter/all-spark-notebook

USER root

RUN apt-get update && apt-get install -y gcc g++ make python

ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin"
ENV NODE_PATH="/opt/conda/lib/node_modules/"
USER jovyan
RUN npm install -g ijavascript
RUN ijsinstall

RUN npm install -g jsdom d3

USER root

RUN apt-get update && \
    apt-get install -y nodejs \
    npm

RUN sudo npm install -g ijavascript
RUN ijsinstall --spec-path=full --install=global

RUN pip install plotly
RUN pip install dash==0.43.0
RUN pip install dash-daq==0.1.0
RUN pip install jupyterlab-dash==0.1.0a2
RUN jupyter labextension install [email protected]

RUN fix-permissions /home/jovyan

RUN apt-get autoremove -y python
ENV PATH="/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
USER jovyan

That is working ran locally with jupyter-dash, but not once deployed inside a jupyterhub env.

Anyway, curious where this is on your roadmap. Happy to help if it is far off.

zmays avatar Jun 03 '19 15:06 zmays

jupyter-dash works well with littlest jupyter hub and jupyter lab 1.0.4. (based on running the example https://github.com/plotly/jupyterlab-dash/blob/master/notebooks/test_app_viewer.ipynb )

RanFeldeshKik avatar Jul 29 '19 13:07 RanFeldeshKik