... | @@ -39,17 +39,25 @@ No special actions required for the first few weeks. |
... | @@ -39,17 +39,25 @@ No special actions required for the first few weeks. |
|
|
|
|
|
### Demo code:
|
|
### Demo code:
|
|
|
|
|
|
[Here](https://gitlab.ti.howest.be/TI/2023-2024/s1/pf/ex-pf-demo) you can find a *demo repo* for the exercises of Programming Fundamentals.
|
|
[Here (Dutch/Nederlands)](https://gitlab.ti.howest.be/ti/2023-2024/s1/programming-fundamentals/ti-nl) or [here (English)](https://gitlab.ti.howest.be/ti/2023-2024/s1/programming-fundamentals/ti-en) you can/will find all the material of the *Programming Fundamentals course*: input material and your own exercises.
|
|
|
|
|
|
1. Look for the clone button. You can copy (ssh-)url to your clipboard and start up WebStorm. In the start screen, select "Get from version control", select git (the default) and paste the url. Hit clone and it should create a fresh project on your device.
|
|
As soon as you are granted access rights, the input material repository will appear. If you like, you can already `clone` this repo:
|
|
2. Find the `package.json` file. Right-click this file and select *Run 'npm install'*. (This step might not be needed, but do it anyway)
|
|
|
|
3. Now, find the `testTopic0.js`file in the `test` directory. Right-click this file and select *Run 'testTopic0.js'*. You should see some orange circles appear in the bottom left corner. If you also see one green checkmark, you are ready. If not, find the green arrow/triangle (just below 'run'), next to this arrow you should select the grayed out checkmark. If you do so, the green checkmark should appear and you are ready.
|
|
1. Open the input repo in GitLab, and look for the `clone-button`.
|
|
4. Close WebStorm and **remove the demo-project from your device**, you do not need it anymore.
|
|
2. Copy ssh-url to your clipboard and start up WebStorm. In the start screen, select "Get from version control", select `git` (the default) and paste the url.
|
|
|
|
3. Hit `clone` and it should create a fresh project on your device.
|
|
|
|
4. Locate the `package.json` file in the root of the project.
|
|
|
|
5. Right-click this file and select *Run 'npm install'*. (This step might not be needed, but do it anyway)
|
|
|
|
6. Now, locate the `testTopic01.js`-file in the `test` directory.
|
|
|
|
7. Right-click this file and select *Run 'testTopic01.js'*.
|
|
|
|
8. You should see a lot of red crosses appear: 17 out of 17 tests failed... **This is perfectly fine and expected**. It will be **your job** to make all exercises.
|
|
|
|
9. **Do not change anything in this repository.** You only have reading rights anyway.
|
|
|
|
|
|
|
|
By the first class (next week) this group will be populated with *your exercises*-repo. In this repo you will have write-rights as well, to get that repo up and running, you can just repeat the steps above minus step 9.
|
|
|
|
|
|
|
|
Enjoy.
|
|
|
|
|
|
[Here (TI)](https://gitlab.ti.howest.be/TI/2022-2023/s1/pf/TI/students) you will see a group (this just a directory in GitLab terms) with your name ... IF you where already signed in in GitLab (before 16/09/2022 09:40).
|
|
|
|
[Here (TI-E)](https://gitlab.ti.howest.be/TI/2022-2023/s1/pf/TIE/students) you will see a group (this just a directory in GitLab terms) with your name by Tuesday).
|
|
|
|
|
|
|
|
By the first class this group will be populated with your *real exercises*.
|
|
|
|
|
|
|
|
# Computer Architectures & Operating Systems
|
|
# Computer Architectures & Operating Systems
|
|
|
|
|
... | | ... | |