mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add link-following to all curl commands
This commit is contained in:
@@ -100,7 +100,7 @@ def run_test(image_name, test_name, bootstrap_pip_spec, test_files, upgrade, ins
|
|||||||
if upgrade:
|
if upgrade:
|
||||||
run_container_command(
|
run_container_command(
|
||||||
test_name,
|
test_name,
|
||||||
f'curl https://tljh.jupyter.org/bootstrap.py | python3 -'
|
f'curl -L https://tljh.jupyter.org/bootstrap.py | python3 -'
|
||||||
)
|
)
|
||||||
|
|
||||||
run_container_command(
|
run_container_command(
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ able to configure the instance automatically, replace relevant config variables:
|
|||||||
##############################################
|
##############################################
|
||||||
# Need to ensure oauthenticator is bumped to 0.10.0
|
# Need to ensure oauthenticator is bumped to 0.10.0
|
||||||
##############################################
|
##############################################
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin insightadmin
|
--admin insightadmin
|
||||||
|
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ A new screen with all the options for Virtual Machines in Azure will displayed.
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin <admin-user-name>
|
--admin <admin-user-name>
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ Step 1: Installing The Littlest JupyterHub
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
|
curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin <admin-user-name>
|
--admin <admin-user-name>
|
||||||
|
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin <admin-user-name>
|
--admin <admin-user-name>
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin <admin-user-name>
|
--admin <admin-user-name>
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ Let's create the server on which we can run JupyterHub.
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin <admin-user-name>
|
--admin <admin-user-name>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ is executed as:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ during install you would:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin admin-user1:password-user1 --admin admin-user2:password-user2
|
--admin admin-user1:password-user1 --admin admin-user2:password-user2
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ during install you would:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin admin-user1 --admin admin-user2
|
--admin admin-user1 --admin admin-user2
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ during install you would:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--admin admin-user1:password-user1 --admin admin-user2
|
--admin admin-user1:password-user1 --admin admin-user2
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ in your new hub, you would run:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--user-requirements-txt-url https://raw.githubusercontent.com/data-8/materials-sp18/master/requirements.txt
|
--user-requirements-txt-url https://raw.githubusercontent.com/data-8/materials-sp18/master/requirements.txt
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ you would use:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl https://tljh.jupyter.org/bootstrap.py \
|
curl -L https://tljh.jupyter.org/bootstrap.py \
|
||||||
| sudo python3 - \
|
| sudo python3 - \
|
||||||
--plugin git+https://github.com/yuvipanda/tljh-pangeo@v0.1
|
--plugin git+https://github.com/yuvipanda/tljh-pangeo@v0.1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user