mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -16,10 +16,8 @@ to 1-50 users on a single server.
|
|||||||
|
|
||||||
Administrators who do not consider themselves 'system administrators' but would
|
Administrators who do not consider themselves 'system administrators' but would
|
||||||
like to provide hosted Jupyter Notebooks for their students / users are the
|
like to provide hosted Jupyter Notebooks for their students / users are the
|
||||||
primary audience. All users get the same environment, and administrators can
|
primary audience. All users are provided with the same environment, and administrators
|
||||||
install libraries into this environment without any specialized knowledge.
|
can easily install libraries into this environment without any specialized knowledge.
|
||||||
It provides all users with the same environment, and administrators can install
|
|
||||||
libraries into this environment easily without any specialized knowledge.
|
|
||||||
|
|
||||||
See `this blog post <http://words.yuvi.in/post/the-littlest-jupyterhub/>`_ for
|
See `this blog post <http://words.yuvi.in/post/the-littlest-jupyterhub/>`_ for
|
||||||
more information.
|
more information.
|
||||||
@@ -45,7 +43,7 @@ Ubuntu 18.04. We have a bunch of tutorials to get you started!
|
|||||||
- `Digital Ocean <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/digitalocean.html>`_
|
- `Digital Ocean <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/digitalocean.html>`_
|
||||||
- `Google Cloud <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/google.html>`_
|
- `Google Cloud <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/google.html>`_
|
||||||
- `Jetstream <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/jetstream.html>`_
|
- `Jetstream <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/jetstream.html>`_
|
||||||
- `Amazon Web Services <https://aws.amazon.com/>`_
|
- `Amazon Web Services <https://the-littlest-jupyterhub.readthedocs.io/en/latest/install/amazon.html>`_
|
||||||
- ... your favorite provider here, if you can contribute!
|
- ... your favorite provider here, if you can contribute!
|
||||||
|
|
||||||
- `Tutorial to install TLJH on an already running server you have root access to
|
- `Tutorial to install TLJH on an already running server you have root access to
|
||||||
|
|||||||
4
docs/_static/custom.css
vendored
4
docs/_static/custom.css
vendored
@@ -1,3 +1,3 @@
|
|||||||
div.sphinxsidebarwrapper h1.logo {
|
div.toctree-wrapper p.caption {
|
||||||
font-size: 2.3rem;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ if os.path.exists(os.path.join(here, '_static')):
|
|||||||
html_sidebars = {
|
html_sidebars = {
|
||||||
'**': [
|
'**': [
|
||||||
'about.html',
|
'about.html',
|
||||||
|
'globaltoc.html',
|
||||||
'relations.html',
|
'relations.html',
|
||||||
'searchbox.html',
|
'searchbox.html',
|
||||||
'donate.html',
|
'donate.html',
|
||||||
@@ -74,3 +75,6 @@ html_theme_options = {
|
|||||||
'github_banner': False,
|
'github_banner': False,
|
||||||
'github_type': 'star',
|
'github_type': 'star',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def setup(app):
|
||||||
|
app.add_stylesheet('custom.css')
|
||||||
@@ -13,13 +13,11 @@ the cloud provider of your choice.
|
|||||||
|
|
||||||
Currently there are instructions to resize your resources on the following providers:
|
Currently there are instructions to resize your resources on the following providers:
|
||||||
|
|
||||||
* :ref:`Digital Ocean <digitalocean/resize>`.
|
* :ref:`Digital Ocean <howto/providers/digitalocean/resize>`.
|
||||||
|
|
||||||
Once resources have been reallocated, you must tell TLJH to make use of these resources,
|
Once resources have been reallocated, you must tell TLJH to make use of these resources,
|
||||||
and verify that the resources have become available.
|
and verify that the resources have become available.
|
||||||
|
|
||||||
.. _tljhconf:
|
|
||||||
|
|
||||||
Verifying a Resize
|
Verifying a Resize
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|||||||
43
docs/howto/providers/digitalocean.rst
Normal file
43
docs/howto/providers/digitalocean.rst
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
.. _howto/providers/digitalocean:
|
||||||
|
|
||||||
|
================================================
|
||||||
|
Perform common Digital Ocean configuration tasks
|
||||||
|
================================================
|
||||||
|
|
||||||
|
This page lists various common tasks you can perform on your
|
||||||
|
Digital Ocean virtual machine.
|
||||||
|
|
||||||
|
.. _howto/providers/digitalocean/resize:
|
||||||
|
|
||||||
|
Resizing your droplet
|
||||||
|
=====================
|
||||||
|
|
||||||
|
As you use your JupyterHub, you may find that you need more memory,
|
||||||
|
disk space, or CPUs. Digital Ocean servers can be resized in the
|
||||||
|
"Resize Droplet" panel. These instructions take you through the process.
|
||||||
|
|
||||||
|
#. First, click on the name of your newly-created
|
||||||
|
Droplet to enter its configuration page.
|
||||||
|
|
||||||
|
#. Next, **turn off your Droplet**. This allows DigitalOcean to make
|
||||||
|
modifications to your VM. This will shut down your JupyterHub (temporarily).
|
||||||
|
|
||||||
|
.. image:: ../../images/providers/digitalocean/power-off.png
|
||||||
|
:alt: Power off your Droplet
|
||||||
|
:width: 200px
|
||||||
|
|
||||||
|
#. Once your Droplet has been turned off, click "Resize",
|
||||||
|
which will take you to a menu with options to resize your VM.
|
||||||
|
|
||||||
|
.. image:: ../../images/providers/digitalocean/resize-droplet.png
|
||||||
|
:alt: Resize panel of digital ocean
|
||||||
|
|
||||||
|
#. Decide what kinds of resources you'd like to resize, then click on a new VM
|
||||||
|
type in the list below. Finally, click "Resize". This may take a few moments!
|
||||||
|
|
||||||
|
#. Once your Droplet is resized, **turn your Droplet back on**. This makes your JupyterHub
|
||||||
|
available to the world once again. This will take a few moments to complete.
|
||||||
|
|
||||||
|
Now that you've resized your Droplet, you may want to change the resources available
|
||||||
|
to your users. Further information on making more resources available to
|
||||||
|
users and verifying resource availability can be found in :ref:`howto/admin/resize`.
|
||||||
@@ -10,10 +10,9 @@ a small (0-100) number of users on a single server. We recommend reading
|
|||||||
Development Status
|
Development Status
|
||||||
==================
|
==================
|
||||||
|
|
||||||
This project is currently in **alpha** state. Most things work, but we might
|
This project is currently in **beta** state. Folks have been using installations
|
||||||
still make breaking changes that have no clear upgrade pathway. We are targeting
|
of TLJH for more than a year now to great success. While we try hard not to, we
|
||||||
a v0.1 release sometime in mid-August 2018. Follow `this milestone <https://github.com/jupyterhub/the-littlest-jupyterhub/milestone/1>`_
|
might still make breaking changes that have no clear upgrade pathway.
|
||||||
to see progress towards the release!
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
@@ -28,6 +27,7 @@ We have a bunch of tutorials to get you started.
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Installation
|
||||||
|
|
||||||
install/digitalocean
|
install/digitalocean
|
||||||
install/jetstream
|
install/jetstream
|
||||||
@@ -48,6 +48,7 @@ Content and Data
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Content and data
|
||||||
|
|
||||||
howto/content/nbgitpuller
|
howto/content/nbgitpuller
|
||||||
howto/content/add-data
|
howto/content/add-data
|
||||||
@@ -58,6 +59,7 @@ The user environment
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: The user environment
|
||||||
|
|
||||||
howto/env/user-environment
|
howto/env/user-environment
|
||||||
howto/env/notebook-interfaces
|
howto/env/notebook-interfaces
|
||||||
@@ -72,6 +74,7 @@ with your JupyterHub. For more information on Authentication, see
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Authentication
|
||||||
|
|
||||||
howto/auth/dummy
|
howto/auth/dummy
|
||||||
howto/auth/github
|
howto/auth/github
|
||||||
@@ -83,6 +86,7 @@ Administration and security
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Administration and security
|
||||||
|
|
||||||
howto/admin/admin-users
|
howto/admin/admin-users
|
||||||
howto/admin/resource-estimation
|
howto/admin/resource-estimation
|
||||||
@@ -91,6 +95,14 @@ Administration and security
|
|||||||
howto/admin/https
|
howto/admin/https
|
||||||
howto/admin/enable-extensions
|
howto/admin/enable-extensions
|
||||||
|
|
||||||
|
Cloud provider configuration
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:titlesonly:
|
||||||
|
:caption: Cloud provider configuration
|
||||||
|
|
||||||
|
howto/providers/digitalocean
|
||||||
|
|
||||||
Topic Guides
|
Topic Guides
|
||||||
============
|
============
|
||||||
@@ -99,6 +111,7 @@ Topic guides provide in-depth explanations of specific topics.
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Topic guides
|
||||||
|
|
||||||
topic/whentouse
|
topic/whentouse
|
||||||
topic/requirements
|
topic/requirements
|
||||||
@@ -118,6 +131,7 @@ guides help you find what is broken & hopefully fix it.
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Troubleshooting
|
||||||
|
|
||||||
troubleshooting/logs
|
troubleshooting/logs
|
||||||
|
|
||||||
@@ -142,6 +156,7 @@ to people contributing in various ways.
|
|||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
:caption: Contributing
|
||||||
|
|
||||||
contributing/docs
|
contributing/docs
|
||||||
contributing/code-review
|
contributing/code-review
|
||||||
|
|||||||
@@ -116,40 +116,4 @@ Step 2: Adding more users
|
|||||||
Step 3: Install conda / pip packages for all users
|
Step 3: Install conda / pip packages for all users
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
.. include:: add_packages.txt
|
.. include:: add_packages.txt
|
||||||
|
|
||||||
.. _digitalocean/resize:
|
|
||||||
|
|
||||||
Step 4: Resizing and editing the droplet
|
|
||||||
========================================
|
|
||||||
|
|
||||||
As you use your JupyterHub, you may find that you need more memory,
|
|
||||||
disk space, or CPUs. Digital Ocean servers can be resized in the
|
|
||||||
"Resize Droplet" panel. These instructions take you through the process.
|
|
||||||
|
|
||||||
#. First, click on the name of your newly-created
|
|
||||||
Droplet to enter its configuration page.
|
|
||||||
|
|
||||||
#. Next, **turn off your Droplet**. This allows DigitalOcean to make
|
|
||||||
modifications to your VM. This will shut down your JupyterHub (temporarily).
|
|
||||||
|
|
||||||
.. image:: ../images/providers/digitalocean/power-off.png
|
|
||||||
:alt: Power off your Droplet
|
|
||||||
:width: 200px
|
|
||||||
|
|
||||||
#. Once your Droplet has been turned off, click "Resize",
|
|
||||||
which will take you to a menu with options to resize your VM.
|
|
||||||
|
|
||||||
.. image:: ../images/providers/digitalocean/resize-droplet.png
|
|
||||||
:alt: Resize panel of digital ocean
|
|
||||||
|
|
||||||
#. Decide what kinds of resources you'd like to resize, then click on a new VM
|
|
||||||
type in the list below. Finally, click "Resize". This may take a few moments!
|
|
||||||
|
|
||||||
#. Once your Droplet is resized, **turn your Droplet back on**. This makes your JupyterHub
|
|
||||||
available to the world once again. This will take a few moments to complete.
|
|
||||||
|
|
||||||
Now that you've resized your Droplet, you may want to change the resources available
|
|
||||||
to your users. Further information on making more resources available to
|
|
||||||
users and verifying resource availability can be found in :ref:`howto/admin/resize`.
|
|
||||||
|
|
||||||
@@ -189,9 +189,9 @@ def ensure_jupyterhub_package(prefix):
|
|||||||
and conda packages!
|
and conda packages!
|
||||||
"""
|
"""
|
||||||
conda.ensure_pip_packages(prefix, [
|
conda.ensure_pip_packages(prefix, [
|
||||||
'jupyterhub==0.9.5',
|
'jupyterhub==0.9.6',
|
||||||
'jupyterhub-dummyauthenticator==0.3.1',
|
'jupyterhub-dummyauthenticator==0.3.1',
|
||||||
'jupyterhub-systemdspawner==0.11',
|
'jupyterhub-systemdspawner==0.13',
|
||||||
'jupyterhub-firstuseauthenticator==0.12',
|
'jupyterhub-firstuseauthenticator==0.12',
|
||||||
'jupyterhub-nativeauthenticator==0.0.4',
|
'jupyterhub-nativeauthenticator==0.0.4',
|
||||||
'jupyterhub-ldapauthenticator==1.2.2',
|
'jupyterhub-ldapauthenticator==1.2.2',
|
||||||
@@ -242,7 +242,7 @@ def ensure_user_environment(user_requirements_txt_file):
|
|||||||
|
|
||||||
conda.ensure_pip_packages(USER_ENV_PREFIX, [
|
conda.ensure_pip_packages(USER_ENV_PREFIX, [
|
||||||
# JupyterHub + notebook package are base requirements for user environment
|
# JupyterHub + notebook package are base requirements for user environment
|
||||||
'jupyterhub==0.9.5',
|
'jupyterhub==0.9.6',
|
||||||
'notebook==5.7.8',
|
'notebook==5.7.8',
|
||||||
# Install additional notebook frontends!
|
# Install additional notebook frontends!
|
||||||
'jupyterlab==0.35.4',
|
'jupyterlab==0.35.4',
|
||||||
|
|||||||
Reference in New Issue
Block a user