If NOTEBOOK_PASSWORD env var is not set this script would fail. I also changed to use notebook.auth as is the one in Jupyter docs for hashing passwords. This fix #138.
2 lines
156 B
Bash
Executable File
2 lines
156 B
Bash
Executable File
jupyter notebook --port=8888 --no-browser --allow-root --ip=0.0.0.0 --NotebookApp.token="" --NotebookApp.password="$(./set_password.py $NOTEBOOK_PASSWORD)"
|