You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/test_plan.md
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ enable=bad-names
155
155
156
156
```python3
157
157
# example.py
158
-
foo =42# Marked as a blacklisted name.
158
+
foo =42# Marked as a disallowed name.
159
159
```
160
160
161
161
-[ ] Installation via the prompt installs Pylint as appropriate
@@ -576,12 +576,14 @@ def test_failure():
576
576
1. Run a cell on the host
577
577
1. Verify the editor opens on the guest and the cell is run there too
578
578
-[ ] Jupyter Hub support
579
+
579
580
1. Windows install instructions
581
+
580
582
1. Install Docker Desktop onto a machine
581
583
1. Create a folder with a file 'Dockerfile' in it.
582
584
1. Mark the file to look like so:
583
585
584
-
```
586
+
```
585
587
ARG BASE_CONTAINER=jupyterhub/jupyterhub
586
588
FROM $BASE_CONTAINER
587
589
@@ -590,28 +592,26 @@ def test_failure():
590
592
USER $NB_UID
591
593
```
592
594
593
-
1. From a command prompt (in the same folder as the Dockerfile), run ```docker build -t jupyterhubcontainer:1.0 .```
594
-
1. Run ```docker container create --name jupyterhub jupyterhubcontainer:1.0 jupyterhub```
595
-
1. From the docker desktop app, start the jupyterhub container.
596
-
1. From the docker desktop app, run the CLI
595
+
1. From a command prompt (in the same folder as the Dockerfile), run `docker build -t jupyterhubcontainer:1.0 .`
596
+
1. Run `docker container create --name jupyterhub jupyterhubcontainer:1.0 jupyterhub`
597
+
1. From the docker desktop app, start the jupyterhub container.
598
+
1. From the docker desktop app, run the CLI
599
+
597
600
1. OR Mac / Linux install instructions
598
601
1. Install docker
599
-
1. From the terminal ```docker run -p 8000:8000 -d --name jupyterhub jupyterhub/jupyterhub jupyterhub```
600
-
1. Open a terminal in the docker container with ```docker exec -it jupyterhub bash```
601
-
1. From that terminal run ```python3 -m pip install notebook```
602
-
1. From the new command prompt, run ```adduser testuser```
602
+
1. From the terminal `docker run -p 8000:8000 -d --name jupyterhub jupyterhub/jupyterhub jupyterhub`
603
+
1. Open a terminal in the docker container with `docker exec -it jupyterhub bash`
604
+
1. From that terminal run `python3 -m pip install notebook`
605
+
1. From the new command prompt, run `adduser testuser`
603
606
1. Follow the series of prompts to add a password for this user
604
607
1. Open VS code
605
608
1. Open a folder with a python file in it.
606
-
1. Run the ```Python: Specify local or remote Jupyter server for connections``` command.
609
+
1. Run the `Python: Specify local or remote Jupyter server for connections` command.
607
610
1. Pick 'Existing'
608
-
1. Enter ```http://localhost:8000``` (assuming the jupyter hub container was successful in launching)
611
+
1. Enter `http://localhost:8000` (assuming the jupyter hub container was successful in launching)
609
612
1. Reload VS code and reopen this folder.
610
613
1. Run a cell in a python file.
611
-
[ ] Verify results
612
-
1. Verify you are asked first for a user name and then a password.
613
-
1. Verify a cell runs once you enter the user name and password
614
-
1. Verify that the python that is running in the interactive window is from the docker container (if on windows it should show a linux path)
614
+
[ ] Verify results 1. Verify you are asked first for a user name and then a password. 1. Verify a cell runs once you enter the user name and password 1. Verify that the python that is running in the interactive window is from the docker container (if on windows it should show a linux path)
0 commit comments