Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freva_plugin_workshop_2021.04.15 [2021/04/13 09:17] – etorma | freva_plugin_workshop_2021.04.15 [2021/11/11 14:05] (current) – [Material that will be used / shown in the workshop] etorma | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ======= Material that will be used / shown in the workshop ======= |
- | In [[https:// | + | |
+ | In [[https:// | ||
+ | - a plugin called '' | ||
+ | - a plugin called '' | ||
+ | - a plugin called '' | ||
+ | |||
+ | In order to follow the hands-on you will need to download them and place them somewhere where the // | ||
+ | |||
+ | |||
+ | To look and execute the code we can do it [[login_shell|via the shell terminal]] or via [[connec2jupyterhub|DKRZ' | ||
+ | |||
+ | ====== Steps for downloading the plugins ====== | ||
First thing we will go to (e.g.) our /home directory and create a folder that will contain these projects: | First thing we will go to (e.g.) our /home directory and create a folder that will contain these projects: | ||
Line 12: | Line 23: | ||
Now, we will download the repositories. To download a git repository there 3 ways: | Now, we will download the repositories. To download a git repository there 3 ways: | ||
- download it. You can download it in different formats (zip, tar, etc.) but it will be downloaded to your local folder (your pc's folder) and then you will need to move it to your DKRZ's ''/ | - download it. You can download it in different formats (zip, tar, etc.) but it will be downloaded to your local folder (your pc's folder) and then you will need to move it to your DKRZ's ''/ | ||
- | - clone it via **http**. Advantage: straightforward. Disadvantage: | + | - clone it via **https**. Advantage: straightforward. Disadvantage: |
- clone it via **ssh**. Advantage: **no** need to type ''< | - clone it via **ssh**. Advantage: **no** need to type ''< | ||
Line 20: | Line 31: | ||
- | Currently, we will paste the most straightforward way, i.e., via **ssh**. | + | Currently, we will use the most straightforward way, i.e., via **https**, for that we only need to copy the address (e.g. [[https:// |
+ | |||
+ | <code bash> | ||
+ | $ pwd | ||
+ | / | ||
+ | $ git clone https:// | ||
+ | Cloning into ' | ||
+ | |||
+ | Username for ' | ||
+ | |||
+ | Password for ' | ||
+ | remote: Enumerating objects: 83, done. | ||
+ | remote: Counting objects: 100% (83/83), done. | ||
+ | remote: Compressing objects: 100% (65/65), done. | ||
+ | remote: Total 83 (delta 26), reused 51 (delta 15), pack-reused 0 | ||
+ | Unpacking objects: 100% (83/83), 21.77 KiB | 14.00 KiB/s, done. | ||
+ | |||
+ | </ | ||
+ | |||
+ | Now we can go to our plugin and look its contents: | ||
+ | |||
+ | <code bash> | ||
+ | $ cd wetdry | ||
+ | $ tree | ||
+ | . | ||
+ | |-- README.md | ||
+ | |-- software | ||
+ | | |-- getsoftware4wetdry | ||
+ | | `-- getsoftware4wetdry-TEMPLATE | ||
+ | |-- src | ||
+ | | |-- wetdry_plotter.py | ||
+ | | |-- wetdry_script.sh | ||
+ | | `-- wetdry_wrapper.py | ||
+ | `-- test | ||
+ | `-- test.sh | ||
+ | |||
+ | 3 directories, | ||
+ | </ | ||
+ | |||
+ | \\ \\ | ||
+ | **For the workshop we will need to do this 2 times, for '' | ||
+ | |||
+ | <code bash> | ||
+ | $ cd / | ||
+ | $ ls | ||
+ | wetdry/ wetdry_debug/ | ||
+ | </ | ||
+ | \\ \\ | ||
+ | We left the '' | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Additional material of the workshop ===== | ||
+ | ===Theory (1st Block)=== | ||
+ | \\ | ||
+ | PPT material for the plugin part: {{: | ||
+ | \\ | ||
+ | {{climxtreme: | ||
+ | \\ | ||
+ | ===Hands-on (2nd Block)=== | ||
+ | \\ | ||
+ | PPT material of the plugin architecture: | ||
+ | \\ | ||
+ | {{climxtreme: |