Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ COPY . /chisel-bootcamp/
WORKDIR /chisel-bootcamp

RUN mkdir -p $JUPYTER_CONFIG_DIR/custom && \
mkdir -p $JUPYTER_CONFIG_DIR/lab/user-settings/@jupyterlab/apputils-extension && \
cp source/custom.js $JUPYTER_CONFIG_DIR/custom/ && \
cp source/jupyter_server_config.py $JUPYTER_CONFIG_DIR/
cp source/jupyter_server_config.py $JUPYTER_CONFIG_DIR/ && \
cp source/overrides.json $JUPYTER_CONFIG_DIR/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings

# Second stage - download Scala requirements and the Scala kernel
FROM base AS intermediate-builder
Expand Down
66 changes: 0 additions & 66 deletions OneDayAgenda.md

This file was deleted.

8 changes: 8 additions & 0 deletions source/jupyter_server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ def filter(self, record):
# Apply the filter to ServerApp logger
server_logger = logging.getLogger('ServerApp')
server_logger.addFilter(SuppressAuthWarning())

# Hide system and build files from file browser
# Students only need to see notebook files (*.ipynb)
c.ContentsManager.hide_globs = [
'almond', 'coursier', 'Dockerfile', 'LICENSE',
'Install.md', 'README.md', 'runtest.py',
'binder', 'images', 'source'
]
6 changes: 6 additions & 0 deletions source/overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"@jupyterlab/apputils-extension:notification": {
"fetchNews": "false",
"checkForUpdates": false
}
}