diff --git a/Dockerfile b/Dockerfile index d0f5eaf..fe01eee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,8 @@ COPY . . RUN git clean -ffxd RUN npm install . --unsafe-perm --nodedir="/opt/graalvm-ce-19.0.2/jre/languages/js" --build-from-source RUN git clone https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git -RUN cd jupyter_contrib_nbextensions && git checkout tags/0.5.1 -RUN pip3 install -e . -RUN cp -r ../varInspector src/jupyter_contrib_nbextensions/nbextensions/ +RUN pip3 install -e jupyter_contrib_nbextensions +RUN cp -r varInspector jupyter_contrib_nbextensions/src/jupyter_contrib_nbextensions/nbextensions/ RUN jupyter contrib nbextensions install --user RUN jupyter nbextension enable varInspector/main diff --git a/README.md b/README.md index 0092b2a..38a5f2e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The Polyglot Jupyter Kernel is a [kernel for Jupyter notebooks](https://jupyter. Make sure to [install](https://www.graalvm.org/downloads) GraalVM (latest tested version is v19.0.2) and ensure GraalVM's `node` and `npm` are in your `PATH`. -To install the kernel on linux follow these steps: +To install the kernel on Linux follow these steps: ```sh # 0. download and setup GraalVM # 1. install python and pip: @@ -36,7 +36,7 @@ cd ./pp19-3-jupyter-kernel && npm install . --python=python2.7 Proceed by starting a jupyter notebook server (`jupyter notebook`), opening a web-browser on `localhost:8888`, and creating a new GraalNode.js notebook. -### Running with Docker +### Running IPolyglot with Docker You may also choose to run IPolyglot with docker: @@ -46,7 +46,7 @@ You may also choose to run IPolyglot with docker: git clone https://github.com/hpi-swa-lab/pp19-3-jupyter-kernel.git # 2. build an ipolyglot docker image docker build --tag=ipolyglot . -# 3. run it! (you may choose a different port by changing 8888:) +# 3. run it! (choose a different port by changing 8888:) docker run -p 8888:8888 ipolyglot ```