Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
25d8a5d7
Commit
25d8a5d7
authored
3 years ago
by
Elias Werner
Browse files
Options
Downloads
Patches
Plain Diff
fix markdown for multi "window" environment to make linter working
parent
b58d2c9d
No related branches found
No related tags found
2 merge requests
!488
Automated merge from preview to main
,
!485
docs: Add Jupyter Teaching Example
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
+10
-4
10 additions, 4 deletions
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
with
10 additions
and
4 deletions
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
+
10
−
4
View file @
25d8a5d7
...
@@ -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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment