2018-06-28 00:39:55 -07:00
|
|
|
.. _installation:
|
|
|
|
|
|
2018-07-10 11:35:18 -07:00
|
|
|
============
|
2018-06-28 00:39:55 -07:00
|
|
|
Installation
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
Quick Installation
|
2018-07-10 11:35:18 -07:00
|
|
|
==================
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
The quick way to install The Littlest JupyterHub (tljh) is:
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2018-07-02 15:12:26 -07:00
|
|
|
curl https://raw.githubusercontent.com/yuvipanda/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo python3 -
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
This takes 2-5 minutes to run. When completed, you can access your new JupyterHub
|
|
|
|
|
at the public IP of your server!
|
|
|
|
|
|
2018-07-05 17:51:51 -07:00
|
|
|
You should probably add yourself as an `admin user <admin.rst>`_
|
2018-06-28 00:39:55 -07:00
|
|
|
after installation.
|
|
|
|
|
|
|
|
|
|
Slightly less quick installation
|
2018-07-10 11:35:18 -07:00
|
|
|
================================
|
2018-06-28 00:39:55 -07:00
|
|
|
|
2018-07-02 15:12:26 -07:00
|
|
|
If you can read ``python3`` and are nervous about the previous installation method,
|
2018-06-28 00:39:55 -07:00
|
|
|
you can inspect the installer script before running it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Download the installer script
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2018-07-02 15:12:26 -07:00
|
|
|
curl https://raw.githubusercontent.com/yuvipanda/the-littlest-jupyterhub/master/bootstrap/bootstrap.py -o bootstrap.py
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
2. Read the install script source using your favorite text editor
|
|
|
|
|
|
|
|
|
|
3. Run the installer script
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2018-07-02 15:12:26 -07:00
|
|
|
sudo python3 bootstrap.py
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
This should have the exact same effects as the quick installer method.
|