Skip to content
Snippets Groups Projects
Commit 25d8a5d7 authored by Elias Werner's avatar Elias Werner
Browse files

fix markdown for multi "window" environment to make linter working

parent b58d2c9d
No related branches found
No related tags found
2 merge requests!488Automated merge from preview to main,!485docs: Add Jupyter Teaching Example
...@@ -142,7 +142,9 @@ and files via `chmod`. ...@@ -142,7 +142,9 @@ and files via `chmod`.
(considering the Python version of your virtual environment). (considering the Python version of your virtual environment).
Set up your shared Python virtual environment for JupyterHub: Set up your shared Python virtual environment for JupyterHub:
=== "virtualenv" === "virtualenv"
```console ```console
marie@compute$ module load Python #Load default Python marie@compute$ module load Python #Load default Python
[...] [...]
...@@ -150,7 +152,7 @@ Set up your shared Python virtual environment for JupyterHub: ...@@ -150,7 +152,7 @@ Set up your shared Python virtual environment for JupyterHub:
Info: creating workspace. Info: creating workspace.
/scratch/ws/1/python_virtual_environment_teaching /scratch/ws/1/python_virtual_environment_teaching
[...] [...]
marie@compute$ virtualenv --system-site-packages /scratch/ws/1/python_virtual_environment_teaching/env #Create virtual environment marie@compute$ virtualenv --system-site-packages /scratch/ws/1/python_virtual_environment_teaching/env #Create virtual environment
[...] [...]
marie@compute$ source /scratch/ws/1/python_virtual_environment_teaching/env/bin/activate #Activate virtual environment. Example output: (envtest) bash-4.2$ marie@compute$ source /scratch/ws/1/python_virtual_environment_teaching/env/bin/activate #Activate virtual environment. Example output: (envtest) bash-4.2$
marie@compute$ pip install ipykernel marie@compute$ pip install ipykernel
...@@ -165,7 +167,9 @@ Set up your shared Python virtual environment for JupyterHub: ...@@ -165,7 +167,9 @@ Set up your shared Python virtual environment for JupyterHub:
marie@compute$ chmod g+rx /scratch/ws/1/python_virtual_environment_teaching -R #Make the environment accesible for others marie@compute$ chmod g+rx /scratch/ws/1/python_virtual_environment_teaching -R #Make the environment accesible for others
``` ```
=== "conda" === "conda"
```console ```console
marie@compute$ module load Anaconda3 #Load Anaconda marie@compute$ module load Anaconda3 #Load Anaconda
[...] [...]
...@@ -189,6 +193,7 @@ Set up your shared Python virtual environment for JupyterHub: ...@@ -189,6 +193,7 @@ Set up your shared Python virtual environment for JupyterHub:
Now, users have to install the kernel in order to use the shared Python virtual Now, users have to install the kernel in order to use the shared Python virtual
environment in JupyerHub: environment in JupyerHub:
=== "virtualenv" === "virtualenv"
```console ```console
marie@compute$ module load Python #Load default Python marie@compute$ module load Python #Load default Python
[...] [...]
...@@ -198,7 +203,9 @@ environment in JupyerHub: ...@@ -198,7 +203,9 @@ environment in JupyerHub:
marie@compute$ deactivate marie@compute$ deactivate
``` ```
=== "conda" === "conda"
```console ```console
marie@compute$ module load Anaconda3 #Load Anaconda marie@compute$ module load Anaconda3 #Load Anaconda
[...] [...]
...@@ -214,6 +221,5 @@ virtual environment. ...@@ -214,6 +221,5 @@ virtual environment.
!!! hint !!! hint
You can also execute the commands for installing the kernel from the Jupyter You can also execute the commands for installing the kernel from the Jupyter
as described in as described in [JupyterHub Teaching Example](jupyter_teaching_example.md). Then users do not
[JupyterHub Teaching Example](jupyter_teaching_example.md). Then users do have to use the command line interface after the preparation.
not have to use the command line interface after the preparation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment