Update custom-server.rst

This commit is contained in:
Fred Mitchell
2018-11-03 17:29:30 -04:00
committed by GitHub
parent 1cb30f8ee0
commit 498a1cbd40

View File

@@ -33,23 +33,23 @@ Step 1: Installing The Littlest JupyterHub
#. If your server is behind a firewall and needs a proxy: #. If your server is behind a firewall and needs a proxy:
.. code:: .. code-block:: bash
export http_proxy=<your_proxy> export http_proxy=<your_proxy>
export https_proxy=<your_proxy> export https_proxy=<your_proxy>
#. Some requests will fail if your certs are self-signed: #. Some requests will fail if your certs are self-signed:
.. code:: .. code::
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates
sudo npm config set strict-ssl false 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: #. 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 #. Copy the text below, and paste it into the terminal. Replace
``<admin-user-name>`` with the name of the first **admin user** for this ``<admin-user-name>`` with the name of the first **admin user** for this