-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chapter 4 and 6 #29
Conversation
this section will be moved to ch6
This section has been moved to ch3
the content is moved from ch4 with some adaptions.
Thank you!Thank you for your pull request 😃 🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}. If you have files that automatically render output (e.g. R Markdown), then you should check for the following:
Rendered Changes🔍 Inspect the changes: https://github.com/vantage6/vantage6-workshop/compare/md-outputs..md-outputs-PR-29 The following changes were observed in the rendered markdown documents:
What does this mean?If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible. This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation. ⏱️ Updated at 2024-06-20 07:02:55 +0000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Co-authored-by: Walter Baccinelli <100706999+wbaccinelli@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes! I have just a few small things.
episodes/chapter4.md
Outdated
@@ -194,6 +132,9 @@ You will see a message: | |||
> | |||
> Please distribute each of these keys privately to each of the organizations. Note that they may reset their API key so that no-one but them knows it. | |||
|
|||
You will need this API key to register the nodes of the organizations in the collaboration. For more details, see [the chapter of setting up a vantage6 node](./chapter6.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not say register
- in my view that is what you have just done by creating the collaboration and the node. I would rather say something like You will need the API keys when you run the nodes to authenticate with the server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I would say instead of the second sentence We will discuss this tomorrow in [link to chapter 6]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually participants get the lesson material after the workshop. So it's better not to mention tomorrow
;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, maybe 'We will discuss this later in chapter 6' ;-)
episodes/chapter4.md
Outdated
|
||
Go the administration page in the vantage6 UI and try to create a new organization, a new user, and a new collaboration. Also, try to reset the API key for a node. | ||
Go to the administration page in the vantage6 UI, and try to do the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpicking: maybe delete the words try to
That way we show that we have faith in our participants :-)
episodes/chapter4.md
Outdated
- Vantage6 uses a permission system to control who can do what in the system. | ||
- Vantage6 has default roles like `Root`, `Collaboration Admin`, `Organization Admin`, `Researcher`, and `Viewer`. | ||
- Vantage6 UI can be used to manage the entities of vantage6, like creating a new organization, a new user, a new collaboration, and resetting an api key for a node. | ||
- Vantage6 UI can be used to manage the entities of vantage6, like creating a new organization, a new user, or a new collaboration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mention somewhere that you can of course also delete resources (though we're not going to let them do it themselves as they will not have the permission because they could mess up the entire workshop - we could e.g. show it on the screen)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The challenge 1 has mentioned that, and they also can see it in the figures 1 & 2.
|
||
::: | ||
|
||
:::::::::::::::::::::::::::::::::::::::::::::::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to note: this has been added back on the branch where we add setup right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but with quite some adaptions. If you like, please also review #31.
episodes/chapter6.md
Outdated
|
||
1. Create a new node configuration using the `v6 node new` command. | ||
2. Find the path to the configuration file using the `v6 node files` command. Open the configuration file with a text editor and check the configuration options. Are they correct? | ||
3. Add some missing options to your configuration file. You can find all options in the [vantage6 documentation](https://docs.vantage6.ai/en/main/node/configure.html#all-configuration-options). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it would be good to specify which options these should be, as adding some options may lead to weird behaviour (e.g. if they add allowed_algorithms
some algorithms later in the course may not be executed). And ideally it would be something they get reminded of later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I'm afraid the participants will be blocked by what values to add for the missing options. So I would ask them to add a new database in a different format, change the encryption option, and find the missing options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds good! Be sure to say that they should also change the encryption option back in that case
episodes/chapter6.md
Outdated
|
||
1. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command. | ||
2. How do you make sure the new API key is effective? | ||
1. How to reset the API key of a node via the vantage6 UI? Try to reset the API key of a node you just created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just say "Reset the API key of the node that you just created in the vantage6 UI"
episodes/chapter6.md
Outdated
1. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command. | ||
2. How do you make sure the new API key is effective? | ||
1. How to reset the API key of a node via the vantage6 UI? Try to reset the API key of a node you just created. | ||
2. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And then maybe "Update the API key of ..." (leave out first part)
@bartvanb @wbaccinelli Applied your suggestions, please have a look again. |
@CunliangGeng good for me :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked again but it was already good last time I saw it. I prefer to have another detailed look at everything together when we have a draft of everything so let's merge this now!
Auto-generated via {sandpaper} Source : 0f07395 Branch : md-outputs Author : GitHub Actions <actions@github.com> Time : 2024-06-25 08:18:45 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : 3b48c4f Branch : main Author : Bart van Beusekom <b.vanbeusekom@iknl.nl> Time : 2024-06-25 08:17:34 +0000 Message : Merge pull request #29 from vantage6/update_ch4_ch6 Update chapter 4 and 6
To address the issues #26 and #27 .