34.2. Trainer: Preparation#
Preparation of a Mastering Plone Development Training
You are about to give a training. Here are some tips what to prepare before.
Technical set up to do before a training#
Update the Plone and Volto versions in mastering-plone-project.
If you do only a part of the training, prepare an installation with the steps of the previous chapters. See The code for the training for more information.
Update the example code#
This section is for trainers who want to update the example project code to match a change in the training documentation.
The tags for each chapter described in The code for the training are actually branches, so that they can more easily be updated.
If you need to change code in the middle of the training, you have to rebase all the branches that come after it, so that they include the updated code.
That looks like this:
Check out the branch you need to update.
Commit the changes there. (You can use
git commit --amendif you want to rewrite the commit instead of adding a new one.)Check out the next branch. Rebase it onto the previous one.
Force push the updated branch to GitHub.
Continue checking out and rebasing each subsequent branch until you get to
main.
The final result should look like this: