From 498a1cbd40e37f31e5d21d936d9bd2fe020827ea Mon Sep 17 00:00:00 2001 From: Fred Mitchell Date: Sat, 3 Nov 2018 17:29:30 -0400 Subject: [PATCH] Update custom-server.rst --- docs/install/custom-server.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/install/custom-server.rst b/docs/install/custom-server.rst index 2340647..a5cbece 100644 --- a/docs/install/custom-server.rst +++ b/docs/install/custom-server.rst @@ -33,23 +33,23 @@ Step 1: Installing The Littlest JupyterHub #. If your server is behind a firewall and needs a proxy: -.. code:: + .. code-block:: bash - export http_proxy= - export https_proxy= + export http_proxy= + export https_proxy= #. Some requests will fail if your certs are self-signed: -.. code:: + .. code:: - export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates - sudo npm config set strict-ssl false + export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates + sudo npm config set strict-ssl false #. Make sure you have ``Python3``, ``curl`` and ``git`` installed. On latest Ubuntu you can get all of these with: -.. code:: + .. code:: - apt-get install python3 git curl + apt-get install python3 git curl #. Copy the text below, and paste it into the terminal. Replace ```` with the name of the first **admin user** for this