Skip to content

Exercises

Note

If you have earlier participated Web User Interface Programming course and you already have wuip-exercises repository in JAMK/GitLab. You need to check if exercises and/or issues has changed, then remove/rename old wuip-exercises repository and create a new one.

Repository

Every students needs to create a repository to GitLab/LabraNet with exact rules, so teacher evaluation tool can find it and evaluation can be done.

Look this video to get help with below steps: Create a repository to GitLab/LabraNet.

  1. Login JAMK-IT/Gitlab/Labranet here: https://gitlab.labranet.jamk.fi/users/sign_in
  2. Create wuip-exercises repository to root level of your account in GitLab/LabraNet (use your own id), so it can be found https://gitlab.labranet.jamk.fi/studentID/wuip-exercises path.
  3. Download wuip-exercises.csv to your local computer. This csv file has exercises issues, which will be used later in the Issues Boards. Every issues has a link to the exercises materials in the teacher's repository.
  4. Import issues to your repository using above csv file.
  5. Modify Issues Boards to have Open, Doing, In Review and Closed lists. Label names need to exactly same as they are written here!
  6. Modify created repository settings to get teacher account (Pasi Manninen) included inside it. It is enough to give Reporter access role to teacher. Modify repository settings to allow evaluation from the teacher.

Success

Remember look above video and follow steps IssuesBoard.

How to work with wuip-exercise repository

  1. Install Git to your own computer and configure Git global username, email and add SSH keys to your profile. After that, you can clone repository from GitLab/LabraNet to your own computer. video (android-exercises video but valid to create SSH keys)

Tip

You can use Git Bash in Windows and Terminal application in macOS.

  1. Before you can start work with wuip-exercises repository, it need to be cloned to your own local computer. video

Tip

You can try to clone with https:// if you have some issues to generate your SSH keys.

  1. Next you can start working with the first exercise. After you have finished one of the exercises, you need to use Git and add added/modified files to Git version control and commit. Finally, you need to push added/modified files/projects back to your repository at GitLab/LabraNet. You will need to remember move exercise issue ticket from Doing to In Review list and write a few lines comment about what you have learned with an exercise. video

Note

If all should be correct and student will not get teacher evaluation comments to his/her exercises repository -> send an email to teacher and teacher will check what is wrong!

Basic commands in Git

Here is a short list of a few git commands what you need to use with an exercises:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
// Clone you repository to local computer, you need to use your own StudentID
// You only need to do this once, when you are start working with a repository
// - with SSH
git clone git@gitlab.labranet.jamk.fi:StudentID/wuip-exercises.git
// with - HTTPS
git clone https://gitlab.labranet.jamk.fi/StudentID/wuip-exercises.git

// Add modified files to your own local computer repository
git add .
git commit -m "your comment text here"

// Move modified local repository files to GitLab/LabraNet cloud
git push

Issues Board

Student needs to use wuip-exercise repository's Issues Boards and drag an exercise issue ticket from Open to Doing section, when student start's working with an exercise. Student needs to remember move an issue ticket to In Review section in Issues Boards, when student has completed exercise and pushed exercise work back into his/her wuip-exercise repository at GitLab/LabraNet.

This way teacher knows that student has finished an exercise/issue and teacher can start exercise evaluation. Teacher will move issue ticket to Closed List in a Issues Boards, when exercise is approved or back to Doing, if there is something wrong with the exercise.

Note

Student can move issue to In Review, if student need help with an exercise. Remember push your code to gitlab and write a few lines to comment field to help teacher understant your issue.

Issues Board

Teacher is monitoring student learning process all the time! So don't just create exercises one after another and then push all exercises back to GitLab/LabraNet, push your work after you have finished one.