Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fixed jupyter example
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Mar 24, 2019
1 parent 4b227f3 commit 9a7c912
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
c.NotebookApp.token = '1e8a4466-396e-4a1b-bec6-729de2772f29'
8 changes: 4 additions & 4 deletions containers/python-3-jupyter-pyspark/.vscode/devContainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Jupyter PySpark",
"image": "jupyter/pyspark-notebook",
"appPort": 8888,
"dockerComposeFile": "docker-compose.dev-container.yml",
"service": "jupyter",
"volume": "notebook",
"extensions": [
"ms-python.python",
"LittleFoxTeam.vscode-python-test-adapter"
"ms-python.python"
]
}
5 changes: 2 additions & 3 deletions containers/python-3-jupyter-pyspark/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"python.linting.enabled": false,
"python.dataScience.useDefaultConfigForJupyter": true,
"python.dataScience.notebookFileRoot": "${workspaceFolder}/test-project",
"python.pythonPath": "/opt/conda/bin/python"

"python.pythonPath": "/opt/conda/bin/python",
"python.dataScience.jupyterServerURI": "http://localhost:8888?token=1e8a4466-396e-4a1b-bec6-729de2772f29"
}
14 changes: 0 additions & 14 deletions containers/python-3-jupyter-pyspark/dev-container.dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '3'
services:
jupyter:
image: jupyter/pyspark-notebook
ports:
- "8888:8888"
volumes:
- .:/notebook
- ./.jupyter:/home/jovyan/.jupyter

0 comments on commit 9a7c912

Please sign in to comment.