Skip to content
Snippets Groups Projects
Commit 31e54ca8 authored by Kinan AlAttar's avatar Kinan AlAttar
Browse files

Updated before.sh.erb & script.sh.erb to enable jupyterlmod's server extension

parent 94d29b4b
No related tags found
No related merge requests found
...@@ -54,5 +54,6 @@ c.NotebookApp.open_browser = False ...@@ -54,5 +54,6 @@ c.NotebookApp.open_browser = False
c.NotebookApp.allow_origin = '*' c.NotebookApp.allow_origin = '*'
c.NotebookApp.notebook_dir = '${HOME}' c.NotebookApp.notebook_dir = '${HOME}'
c.NotebookApp.disable_check_xsrf = True c.NotebookApp.disable_check_xsrf = True
c.NotebookApp.nbserver_extensions = {"jupyterlmod": True}
EOL EOL
) )
...@@ -26,4 +26,4 @@ echo "TIMING - Starting jupyter at: $(date)" ...@@ -26,4 +26,4 @@ echo "TIMING - Starting jupyter at: $(date)"
# Launch the Jupyter Notebook Server # Launch the Jupyter Notebook Server
set -x set -x
jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %> PYTHONPATH=$HOME/.local/lib/python3.6/site-packages jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment