Files
DeOldify/run_notebook.sh
T
Alexandre Vicenzi 29648ecac3 Check if an argument is given
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.
2019-08-16 23:08:45 +02:00

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)"