the patch is to customize /opt/tljh/hub/share/jupyterhub/templates/login.html
Last active
April 24, 2024 11:16
-
-
Save bennokr/64d39ddc8127fb775f58f75e2753a552 to your computer and use it in GitHub Desktop.
tljh setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -36,6 +36,9 @@ | |
{{login_error}} | |
</p> | |
{% endif %} | |
+ | |
+ <p>Welcome!</p> | |
+ | |
<label for="username_input">Username:</label> | |
<input | |
id="username_input" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tljh-config set https.enabled true | |
sudo tljh-config set https.letsencrypt.email <email> | |
sudo tljh-config add-item https.letsencrypt.domains <domain> | |
sudo tljh-config set user_environment.default_app jupyterlab | |
sudo tljh-config set auth.type firstuseauthenticator.FirstUseAuthenticator | |
sudo tljh-config set services.cull.timeout 3600 | |
sudo tljh-config set auth.FirstUseAuthenticator.create_users true | |
sudo tljh-config reload | |
# sudo tljh-config reload proxy | |
sudo timedatectl set-timezone Europe/Amsterdam | |
patch /opt/tljh/hub/share/jupyterhub/templates/login.html login.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -L https://tljh.jupyter.org/bootstrap.py \ | |
| sudo python3 - --show-progress-page \ | |
--admin <user> \ | |
--user-requirements-txt-url https://raw.githubusercontent.com/bennokr/minimEL/master/requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment