|
1 | 1 | # MATLAB Integration for Jupyter on The Littlest JupyterHub
|
2 | 2 |
|
3 |
| -This guide shows how to set up MATLAB and the [MATLAB Integration for Jupyter](https://github.com/mathworks/jupyter-matlab-proxy) on the [The Littlest JupyterHub (TLJH)](https://tljh.jupyter.org/en/stable/index.html#). You might use this if you want to set up JupyterHub on a single server for a small number of users, such as students in a class. |
| 3 | +This guide shows how to set up MATLAB and the [MATLAB Integration for Jupyter](https://github.com/mathworks/jupyter-matlab-proxy) on the [The Littlest JupyterHub (TLJH)](https://tljh.jupyter.org/en/stable/index.html). You might use TLJH if you want to set up JupyterHub on a single server for a small number of users, such as students in a class. |
4 | 4 |
|
5 | 5 |
|
6 | 6 | ## Set up TLJH
|
7 | 7 |
|
8 |
| -The [TLJH Documentation](https://tljh.jupyter.org/en/stable/install/index.html) contains instructions for installing TLJH in different environments. |
9 |
| - |
10 |
| -Once you have a working TLJH stack, you can add MATLAB into your TLJH stack using the MATLAB Plugin for The Littlest JupyterHub. |
| 8 | +The [TLJH Documentation](https://tljh.jupyter.org/en/stable/install/index.html) contains instructions for installing TLJH in different environments. Set up a working TLJH stack. |
11 | 9 |
|
12 | 10 | ## Add MATLAB to TLJH Installation
|
13 |
| -This repository contains `tljh-matlab`, the [MATLAB Plugin for The Littlest JupyterHub](https://github.com/mathworks/jupyter-matlab-proxy/jupyter-matlab-proxy/install_guides/the-littlest-jupyterhub/tljh-matlab/README.md). |
14 |
| - |
15 |
| -Use the plugin to install MATLAB, its dependencies, and the MATLAB integration for Jupyter in TLJH. |
16 | 11 |
|
17 |
| -To install the MATLAB plugin, run the `bootstrap` script from your TLJH installation process again, and add the `tljh-matlab` plugin: |
| 12 | +Add MATLAB to your TLJH installation by using the MATLAB Plugin for The Littlest JupyterHub. To install the MATLAB plugin, run the `bootstrap` script from your TLJH installation process again, and include `-- plugin tljh-matlab` plugin: |
18 | 13 |
|
19 | 14 | ```bash
|
20 | 15 | curl -L https://tljh.jupyter.org/bootstrap.py \
|
21 | 16 | | sudo python3 - \
|
22 | 17 | --plugin tljh-matlab
|
23 | 18 | ```
|
24 | 19 |
|
25 |
| -For more information on installing plugins into a TLJH environment, see [Customizing the Installer *(TLJH Docs)*](https://tljh.jupyter.org/en/latest/topic/customizing-installer.html#customizing-the-installer). |
26 |
| - |
27 |
| -To customize the MATLAB plugin, for example to choose which MATLAB toolboxes to install, see [MATLAB Plugin for The Littlest JupyterHub](https://github.com/mathworks/jupyter-matlab-proxy/tree/main/install_guides/the-littlest-jupyterhub/tljh-matlab/README.md). |
| 20 | +For detailed instructions on using and customizing the plugin, such as the version and toolboxes of MATLAB it installs, see the [MATLAB Plugin for The Littlest JupyterHub](https://github.com/mathworks/jupyter-matlab-proxy/tree/main/install_guides/the-littlest-jupyterhub/tljh-matlab/README.md). |
28 | 21 |
|
29 |
| -## Setting Up TLJH with MATLAB in Docker: Quick Demo |
| 22 | +## Example: Setting Up TLJH with MATLAB in Docker |
30 | 23 |
|
31 |
| -Execute the [start-container-with-tljh-matlab.sh](./start-container-with-tljh-matlab.sh) script to efficiently set up a sample TLJH environment with MATLAB & The MATLAB Integration for Jupyter installed within a Docker container. |
| 24 | +Run the [start-container-with-tljh-matlab.sh](./start-container-with-tljh-matlab.sh) script to quickly set up a TLJH environment with MATLAB and the MATLAB Integration for Jupyter installed within a Docker container. |
32 | 25 |
|
33 | 26 | ```bash
|
34 | 27 | ./start-container-with-tljh-matlab.sh
|
35 | 28 | ```
|
36 | 29 |
|
37 |
| -Once initialized, your JupyterHub server will be accessible for notebook hosting at **http://Your-FQDN:12000**. You can view it in your browser via **http://localhost:12000/**. |
| 30 | +Your JupyterHub server will be accessible for hosting Jupyter Notebooks at `http://Your-FQDN:12000`. You can view it in your browser at `http://localhost:12000/`. |
38 | 31 |
|
39 | 32 | 
|
40 | 33 |
|
41 | 34 | Access JupyterHub using the default credentials: the username is `admin` and the password is `password`.
|
42 |
| -You can update these default values either, in the [start-container-with-tljh-matlab.sh](./start-container-with-tljh-matlab.sh) script, or from the Jupyter Admin UI. |
| 35 | +You can update these default values either in the [start-container-with-tljh-matlab.sh](./start-container-with-tljh-matlab.sh) script, or from the Jupyter Admin interface. |
43 | 36 |
|
44 |
| -To install a different release of MATLAB or to install different MATLAB toolboxes within the TLJH instance, adjust the environment variables in the [.matlab_env](./.matlab_env) file accordingly and re-run `start-container-with-tljh-matlab.sh`. |
| 37 | +To install a different release of MATLAB or to install different MATLAB toolboxes within the TLJH instance, modify the environment variables in the [.matlab_env](./.matlab_env) file accordingly and run `start-container-with-tljh-matlab.sh` again. |
45 | 38 |
|
46 | 39 | ## Learn More
|
47 | 40 |
|
48 |
| -- [The Littlest JupyterHub Official Documentation (TLJH)](https://tljh.jupyter.org/en/stable/index.html). |
49 |
| -- [When to Use the Littlest JupyterHub (TLJH)](https://tljh.jupyter.org/en/stable/topic/whentouse.html). |
50 |
| -- [Plugins (TLJH)](https://tljh.jupyter.org/en/stable/contributing/plugins.html). |
| 41 | +- [The Littlest JupyterHub Official Documentation (TLJH)](https://tljh.jupyter.org/en/stable/index.html) |
| 42 | +- [When to Use the Littlest JupyterHub (TLJH)](https://tljh.jupyter.org/en/stable/topic/whentouse.html) |
| 43 | +- [Plugins (TLJH)](https://tljh.jupyter.org/en/stable/contributing/plugins.html) |
51 | 44 |
|
52 | 45 |
|
53 | 46 | ----
|
|
0 commit comments