Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Conversation

@e-r-i-k-a
Copy link
Contributor

rebuilt the docker image to set the password to JUPYTER_TOKEN in the config file

run.sh Outdated
# Generates a random alphanumeric string of length 48 (like a jupyter notebook token i.e. c8de56fa4deed24899803e93c227592aef6538f93025fe01) if JUPYTER_TOKEN doesn't aready exist
if [ -z "${JUPYTER_TOKEN:-}" ];
then
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 48 | head -n 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No semi colons in bash except in if/while

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@e-r-i-k-a e-r-i-k-a merged commit 8d8e615 into master May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants