From 0cc6dfbe3275019bebb1576e19c722afac1a534e Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:17:15 -0400 Subject: [PATCH 1/7] formatting changes --- docs/docs/index.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 26546aa6..5879a85d 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -21,9 +21,9 @@ the [Installation in Jupyterhub](#installation-in-jupyterhub) section below. the [RStudio Server Pro documentation on Jupyter Notebooks](https://docs.rstudio.com/rsp/integration/jupyter-standalone/#4-install-jupyter-notebooks-jupyterlab-and-python-packages) for instructions on installing the plugin to the right location. - Otherwise, we recommend using Jupyter within a virtual environment using -`virtualenv`. See the [Running Jupyter in a `virtualenv`](#running-jupyter-in-a-virtualenv), shown below, for instructions +`virtualenv`. See the [Running Jupyter in a virtualenv](#running-jupyter-in-a-virtualenv), shown below, for instructions on setting up a `virtualenv`, or read more at the -[`virtualenv` documentation](https://virtualenv.pypa.io/en/latest/). +[virtualenv documentation](https://virtualenv.pypa.io/en/latest/). The following commands should be run after activating the Python environment where you plan to use `jupyter`. @@ -51,7 +51,7 @@ The following commands should be run after activating the Python environment whe - In order to deploy content, you will need at least the [rsconnect-python](https://github.com/rstudio/rsconnect-python) package in every kernel you plan to deploy from. - If you run into an issue during installation, please let us know by filing a bug [here](https://github.com/rstudio/rsconnect-jupyter/issues). -### Running Jupyter in a `virtualenv` +### Running Jupyter in a virtualenv - These commands create and activate a `virtualenv` at `/my/path`:
Terminal
@@ -117,11 +117,11 @@ You have multiple options in this case, depending on your needs: RStudio Connect will still be encrypted, but you will not be able to verify the identity of the RStudio Connect server. -initial dialog that prompts for the location of RStudio Connect +initial dialog that prompts for the location of RStudio Connect ### Publishing options -publish dialog +publish dialog There are two different publication modes. Selecting **Publish finished document only** will publish an HTML snapshot of the notebook to RStudio Connect. HTML snapshots are static and @@ -158,12 +158,12 @@ directory must have a valid `manifest.json`. Python content should also have some kind of environment file (i.e.: `requirements.txt`) in order to be able to restore the package set in your current environment. -Deployment drop-down
+<img src= To begin, select `Create Manifest for git Publishing`. -Dialog titled +Dialog titled When you click **Create Manifest**, one of the following will happen: @@ -179,7 +179,7 @@ For more information on git publishing, see the If content that matches your notebook's title is found on RStudio Connect, you may choose to overwrite the existing content or create new content. -dialog that prompts for overwriting or publishing new content +dialog that prompts for overwriting or publishing new content - Choosing **New location** creates a new document in RStudio Connect. - You can choose either publication mode: @@ -193,7 +193,7 @@ shown in toolbar. Clicking the notification will open the published document in the RStudio Connect server you selected in the previous dialog. -notification that shows the notebook was published successfully +notification that shows the notebook was published successfully ## Collaboration @@ -239,17 +239,17 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From 0dd1e98bb347730a27a142248ea1ac0a83e23caa Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:18:57 -0400 Subject: [PATCH 2/7] formatting changes --- docs/docs/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 5879a85d..eb9f0ef1 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -239,17 +239,17 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From 49b5080639800086eda32ed186c599d182e13a76 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:20:55 -0400 Subject: [PATCH 3/7] formatting changes --- docs/docs/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index eb9f0ef1..55c530ab 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -239,17 +239,17 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From 576f467b57a5222c7887f01f41474597051caa80 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:21:39 -0400 Subject: [PATCH 4/7] formatting changes --- docs/docs/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 55c530ab..eb9f0ef1 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -239,17 +239,17 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From 9017aec772f04acf1cd84bdcefad8bf715fb1f3c Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:34:36 -0400 Subject: [PATCH 5/7] formatting changes --- docs/docs/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index eb9f0ef1..b51e8f8b 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -239,17 +239,17 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From ffebb3cb4008e75b8b9825f2608d372ae8b92c09 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:35:19 -0400 Subject: [PATCH 6/7] formatting changes --- docs/docs/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index b51e8f8b..f2e096cc 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -245,11 +245,11 @@ RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ # create test users RUN useradd -m -s /bin/bash user1 && \ - useradd -m -s /bin/bash user2 && \ - useradd -m -s /bin/bash user3 && \ - bash -c 'echo -en "password\npassword" | passwd user1' && \ - bash -c 'echo -en "password\npassword" | passwd user2' && \ - bash -c 'echo -en "password\npassword" | passwd user3' + useradd -m -s /bin/bash user2 && \ + useradd -m -s /bin/bash user3 && \ + bash -c 'echo -en "password\npassword" | passwd user1' && \ + bash -c 'echo -en "password\npassword" | passwd user2' && \ + bash -c 'echo -en "password\npassword" | passwd user3' CMD ["jupyterhub"] ``` From 07176c62af07108652e7ef309e9513f34572ff59 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 28 Jun 2021 11:35:49 -0400 Subject: [PATCH 7/7] formatting changes --- docs/docs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index f2e096cc..295f2bee 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -239,9 +239,9 @@ ARG REPOSITORY=https://s3.amazonaws.com/rstudio-rsconnect-jupyter RUN wget ${REPOSITORY}/rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl RUN pip install rsconnect_jupyter-${VERSION}-py2.py3-none-any.whl && \ - jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ - jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ - jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter + jupyter-nbextension install --sys-prefix --py rsconnect_jupyter && \ + jupyter-nbextension enable --sys-prefix --py rsconnect_jupyter && \ + jupyter-serverextension enable --sys-prefix --py rsconnect_jupyter # create test users RUN useradd -m -s /bin/bash user1 && \