Skip to content

Commit 9edceec

Browse files
merge from main
2 parents 32121d4 + 0f09a4e commit 9edceec

14 files changed

Lines changed: 50 additions & 50 deletions

File tree

book/computers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This can take on a variety of meanings, and of course modern computers are every
1515

1616
A computer can be broken down into a number of components, for example: hardware, software and peripherals, as illustrated in the figure below.
1717

18-
```{figure} https://files.mude.citg.tudelft.nl/typical.svg
18+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/typical.svg
1919
---
2020
width: 95%
2121
name: computer_typical
@@ -34,7 +34,7 @@ The _system software_ includes the _operating system_ (OS) of a computer and the
3434
As far as this book is concerned, the _application software_ is where our true interest lies, as it is here where we will be writing programs to solve our problems of interest and collaborate with others. This is where our everyday software tools for scientific computing are categorized, for example, Python, VS Code, Matlab, our web browsers (e.g., Chrome) and much more software! As illustrated in the following figure, "we want to be" working at a relatively high level of application software (e.g., writing Python code to conduct analysis and make interesting visualizations) such that we don't have to worry about which OS we are working on. This is both to allow us to focus on our work, as well as collaborate others.
3535

3636

37-
```{figure} https://files.mude.citg.tudelft.nl/apps.svg
37+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/apps.svg
3838
---
3939
width: 80%
4040
name: computer_applications

book/environments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If the concept of an _environment_ facilitates the running of code, an _environm
1313

1414
The purpose of environments and environment managers is to allow an arbitrary software project to be used on an arbitrary computer, regardless of operating system (although one should note that some OS-specific software is required, for example the environment manager itself). This is illustrated schematically in the following figure.
1515

16-
```{figure} https://files.mude.citg.tudelft.nl/simple.svg
16+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/simple.svg
1717
---
1818
width: 80%
1919
name: environments_simple
@@ -48,7 +48,7 @@ dependencies:
4848

4949
Environments and environment managers make it very easy to share projects between collaborators without the need to make computer-specific versions that are compatible with a wide variety of hardware and operating systems. This is illustrated schematically in the following figure, where multiple environment managers can be used to run projects on different computers. Depending on the requirements of a project or computer, a wide number of environment managers could be considered by the user.
5050

51-
```{figure} https://files.mude.citg.tudelft.nl/complex.svg
51+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/complex.svg
5252
---
5353
width: 80%
5454
name: environments_complex

book/install/common/env_vars_windows.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Your computer has _environment variables_ which define the behavior of your oper
1010
````{tip}
1111
Keep in mind that the Windows OS allows you to set environment variables for a specific _user_ as well as for the _system_ (all users). It is important to note which environment variable you should set for a given activity, as choosing the wrong one can have unintended consequences (or lead to much frustration!). The difference can be seen in the example here:
1212
13-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_system_user.png
13+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_system_user.png
1414
---
1515
width: 60%
1616
name: environment_var_system_user
@@ -61,7 +61,7 @@ Note also that depending on your system settings, or if you are copying the path
6161

6262
The easiest way to find the appropriate setting window is by typing the first letters of "environment" in the Windows toolbar. The first three letters are usually enough to cause several relevant options to appear; select _Edit environment variables for your account_ and see the figure below for an illustration:
6363

64-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_search.png
64+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_search.png
6565
---
6666
width: 60%
6767
name: environment_var_search
@@ -73,7 +73,7 @@ As a general rule you should only adjust the `PATH` variable for the _user_, **n
7373

7474
To set the right variable, pay particular attention to the descriptions provided in the environment variable window, as it is easy to miss; the right location is illustrated clearly in the following figure:
7575

76-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_miniconda_not_system.png
76+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_miniconda_not_system.png
7777
---
7878
width: 60%
7979
name: environment_var_miniconda_not_system
@@ -83,7 +83,7 @@ Unless specified otherwise, don't set an environment variable for the _system_,
8383

8484
Once you have identified the proper (user) window, look for the `PATH` variable, select it, then click the "Edit..." button. If the variable value is empty, you will probably see a window similar to that in the following figure; enter (paste) the path of the folder (directory) you wish to add to the path in the field "Variable value" then click "OK." Note that you can browse for the file and folder of interest via the settings window if you did not already copy the path via the File Explorer or a CLI.
8585

86-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_miniconda.png
86+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_miniconda.png
8787
---
8888
width: 60%
8989
name: environment_var_miniconda
@@ -93,7 +93,7 @@ How to add a folder (directory) location to the `PATH` variable. The example her
9393

9494
If there are already values set for the `PATH` variable then the "Edit..." button will probably show a window like that in the following figure. In this case, you can add a new path via the "New" button; paste the path in an open row of the list. Note that you can browse for the file and folder of interest via the settings window if you did not already copy the path via the File Explorer or a CLI.
9595

96-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_PATH_examples.png
96+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_PATH_examples.png
9797
---
9898
width: 60%
9999
name: environment_var_PATH_examples
@@ -103,7 +103,7 @@ Example showing folders (directories) that have already been added to the `PATH`
103103

104104
The following figure illustrates exactly where you should paste your desired folder (directory) path after clicking the "New" button:
105105

106-
```{figure} https://files.mude.citg.tudelft.nl/environment_var_PATH_new.png
106+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/environment_var_PATH_new.png
107107
---
108108
width: 60%
109109
name: environment_var_PATH_new

book/install/common/hidden.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If this doesn't work, try a Google search for "Finding hidden files on a Mac" an
1919

2020
Settings for hidden files and folders can be found directly via the Windows File Explorer. First find the "options" or "settings" configuration window (sometimes pressing the `ALT` button toggles the menubar on and off):
2121

22-
```{figure} https://files.mude.citg.tudelft.nl/hidden_windows_1.png
22+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/hidden_windows_1.png
2323
---
2424
width: 60%
2525
name: hidden_windows_1
@@ -29,7 +29,7 @@ Find the options window for your directory (Windows).
2929

3030
Then navigate to the proper location in the "View" tab of the Folder Options window:
3131

32-
```{figure} https://files.mude.citg.tudelft.nl/hidden_windows_2.png
32+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/hidden_windows_2.png
3333
---
3434
width: 60%
3535
name: hidden_windows_2

book/install/git/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ You can also refer to the [GitHub Documentation](https://docs.github.com/en/auth
108108
109109
At this point, your screen should look like this:
110110
111-
```{figure} https://files.mude.citg.tudelft.nl/add_key.png
111+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/add_key.png
112112
---
113113
width: 100%
114114
name: add_key
@@ -144,7 +144,7 @@ git config --global user.email "k.v.vasilev-1@student.tudelft.nl"
144144
145145
Console example in {numref}`setup1_2`:
146146
147-
```{figure} https://files.mude.citg.tudelft.nl/setup1.png
147+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/setup1.png
148148
---
149149
width: 100%
150150
name: setup1_2

book/install/python/miniconda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ del miniconda.exe
3333
Note that depending on your Windows settings `CTRL+V` does not always work; you may need to use the menu bar of the terminal window or right-click and select paste. In addition, the paste feature typically works one line at a time, therefore after the first line is executed (download) you may need to hit enter once or twice to complete the last lines, as they may not execute automatically.
3434
```
3535
36-
```{figure} https://files.mude.citg.tudelft.nl/miniconda_install.png
36+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/miniconda_install.png
3737
---
3838
height: 200px
3939
name: miniconda_install
@@ -110,7 +110,7 @@ Now that Miniconda is installed on your system, from now on we will use the Anac
110110
````{tab-item} Windows OS
111111
112112
Open the Windows tool bar and begin typing "Anaconda". You should soon see two options appear: "Anaconda Prompt" and "Anaconda PowerShell Prompt." There two versions are based on the two primary CLI's on Windows: Command Prompt and PowerShell. Unless you are an experienced PowerShell user, we recommend using the Command Prompt version: Anaconda Prompt (see figure below):
113-
```{figure} https://files.mude.citg.tudelft.nl/anaconda_prompt_open_windows.png
113+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/anaconda_prompt_open_windows.png
114114
---
115115
width: 60%
116116
name: anaconda_prompt_open_windows

book/version_control/version_control.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ While working on personal or university projects, without a doubt you have come
1313

1414
What you have been doing is called version control. Version control systems start with a base version of the document and then record changes you make each step of the way. You can think of it as a recording of your progress: you can rewind to start at the base document and play back each change you made, eventually arriving at your most recent version, as shown in figure {numref}`intro1`:
1515

16-
```{figure} https://files.mude.citg.tudelft.nl/intro1.png
16+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/intro1.png
1717
---
1818
height: 200px
1919
name: intro1
@@ -23,7 +23,7 @@ Consecutive file changes
2323

2424
Once you think of changes as separate from the document itself, you can then think about "playing back" different sets of changes on the base document, resulting in different versions of that document. For example, two users can make independent sets of changes on the same document, resulting in 2 independent versions ({numref}`intro2`).
2525

26-
```{figure} https://files.mude.citg.tudelft.nl/intro2.png
26+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/intro2.png
2727
---
2828
height: 200px
2929
name: intro2
@@ -33,7 +33,7 @@ Parallel file changes
3333

3434
Unless multiple users make changes to the same section of the document - a conflict - you can incorporate two sets of changes into the same base document ({numref}`intro3`).
3535

36-
```{figure} https://files.mude.citg.tudelft.nl/intro3.png
36+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/intro3.png
3737
---
3838
height: 200px
3939
name: intro3

book/workflows/git/branch_merge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Commits in git have a graph structure, where every node is a commit and edges re
66

77
The graph below shows the commit history of a repo with two commits:
88

9-
![Commit graph of our repository](https://files.mude.citg.tudelft.nl/branch1.png)
9+
![Commit graph of our repository](https://github.com/TUDelft-MUDE/source-files/raw/main/file/branch1.png)
1010

1111
The main advantage of version control is that it allows developers to work together in parallel. During projects, you will be working on "feature" branches and separating the work to review and merge it later. A common graphical structure of commits is shown below, where we have developers working on 3 separate branches and merging their work when necessary. This separation offers flexibility, parallelization of work, and offers more control over the development process.
1212

13-
![Commit graph of a sample repository](https://files.mude.citg.tudelft.nl/branch2.png)
13+
![Commit graph of a sample repository](https://github.com/TUDelft-MUDE/source-files/raw/main/file/branch2.png)
1414

1515
In the commit graph above you see two branches (`Main` and `Dev Branch`). The orange commits `q1` and `q2` were part of a branch but that branch is merged with `main`. The `HEAD` is at `m2`, so if you're looking at the files in repository, you see the stated of all the files after that commit. E.g. the changes from `a1`, `m3` and `q2` (and all others not in front of `m2`) are not visible. So it's not only possible to change branch, but also to go back in time with `Head`!
1616

book/workflows/git/cloning.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This page will show you how to use Source Control in VS Code to **clone** a repo
66

77
Upon opening VS Code, we see that the first thing that is needed is to clone a repository ({numref}`clone1_VSC`). First, we have to get the address from our GitHub account.
88

9-
```{figure} https://files.mude.citg.tudelft.nl/clone1.png
9+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone1.png
1010
---
1111
width: 80%
1212
name: clone1_VSC
@@ -16,7 +16,7 @@ Opening the VS Code Source Control tab for the first time--we need to clone a re
1616

1717
Visit the repository you would like to clone to your computer on GitHub. As illustrated in {numref}`clone2_VSC`, you can see a bright green button "Clone" on the home page of the repository.
1818

19-
```{figure} https://files.mude.citg.tudelft.nl/clone2.png
19+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone2.png
2020
---
2121
width: 80%
2222
name: clone2_VSC
@@ -28,7 +28,7 @@ Home page of the repository in GitHub; note the "Clone" button.
2828

2929
To clone the repository, we need the address--its location on the internet. There are several ways to do this, but the most secure is using SSH. As illustrated in {numref}`clone3_VSC`, under "Clone with SSH," click the icon to copy the URL to your clipboard, then go back to VS Code.
3030

31-
```{figure} https://files.mude.citg.tudelft.nl/clone3.png
31+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone3.png
3232
---
3333
width: 40%
3434
name: clone3_VSC
@@ -41,15 +41,15 @@ Copy SSH address of repository to your clipboard.
4141

4242
Now you are ready to click the "Clone Repository" option in the Source Control tab of VS Code ({numref}`clone1`). Paste the address you copied from GitHub into the top bar and press 'enter' (as shown in {numref}`clone4_VSC`). Then select the folder or location on your local machine where you would like the _local repository_ to be stored ({numref}`clone5_VSC`).
4343

44-
```{figure} https://files.mude.citg.tudelft.nl/clone4.png
44+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone4.png
4545
---
4646
width: 80%
4747
name: clone4_VSC
4848
---
4949
Enter the URL from GitHub and press 'enter'.
5050
```
5151

52-
```{figure} https://files.mude.citg.tudelft.nl/clone5.png
52+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone5.png
5353
---
5454
width: 80%
5555
name: clone5_VSC
@@ -85,7 +85,7 @@ At this point you can create the local repository by clicking "Select Repository
8585
`````{note}
8686
If you were not successful in creating an SSH key and linking it to your GitHub account, this is when you will find out, as a message like this will appear:
8787
88-
```{figure} https://files.mude.citg.tudelft.nl/clone6.png
88+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone6.png
8989
---
9090
width: 80%
9191
name: clone6_VSC
@@ -98,7 +98,7 @@ If this happens, go back to the [SSH setup instructions](../../install/git/intro
9898

9999
If you were successful in cloning the repository, you will see something similar to {numref}`clone7` and you can choose to open your _local repository_. Now we are ready to work on the files and preserve the changes by making our first local **commit**!
100100

101-
```{figure} https://files.mude.citg.tudelft.nl/clone7.png
101+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/clone7.png
102102
---
103103
width: 80%
104104
name: clone7_VSC

book/workflows/git/commits_local.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Now that we have learned how to clone a repository, we will find out how to make
66

77
We begin by identifying the repository on which we would like to work, in this case `sandbox-public`; the starting condition is visible in {numref}`commit1_VSC` after cloning and opening your repository (see previous page). We can see that it began as a completely empty repository, except for the default README.md file that GitHub creates automatically.
88

9-
```{figure} https://files.mude.citg.tudelft.nl/commit1.png
9+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit1.png
1010
---
1111
width: 80%
1212
name: commit1_VSC
@@ -18,7 +18,7 @@ Starting position after cloning GitHub repository and opening it in VS Code.
1818

1919
Now that our repository is cloned, we are ready to get to work! First we will make a change to `README.md` in VS Code. As shown in {numref}`commit1_VSC`, we have removed the title and added some relevant text. Save the changes to the file then click the Source Control tab.
2020

21-
```{figure} https://files.mude.citg.tudelft.nl/commit2.png
21+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit2.png
2222
---
2323
width: 80%
2424
name: commit2_VSC
@@ -34,7 +34,7 @@ Once the changes have been saved, open the Source Control view in VS Code. You w
3434

3535
If we click on the README under Changes we can see in {numref}`commit3_VSC`, git has now registered the changes in our file. git uses a few text symbols to identify and describe the changes, for example, a `+` and `-`. VS Code highlights the changed lines in green and red, making it very obvious what happened.
3636

37-
```{figure} https://files.mude.citg.tudelft.nl/commit3.png
37+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit3.png
3838
---
3939
width: 80%
4040
name: commit3_VSC
@@ -53,7 +53,7 @@ A local commit can record changes made to more than one file at once--we are onl
5353

5454
Because the change to our `README.md` was so large, it was difficult to see all the changes. Let's try making another one. Using the change summary in {numref}`commit4_VSC`, can you tell what happened to the file?
5555

56-
```{figure} https://files.mude.citg.tudelft.nl/commit4.png
56+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit4.png
5757
---
5858
width: 80%
5959
name: commit4_VSC
@@ -66,7 +66,7 @@ A small change to `README.md`.
6666
6767
All we did was add the `.md` to the end of `README`.
6868
69-
```{figure} https://files.mude.citg.tudelft.nl/commit5.png
69+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit5.png
7070
---
7171
width: 60%
7272
name: commit5_VSC
@@ -80,7 +80,7 @@ The small change to `README.md` revealed.
8080

8181
Now that we have recorded our commits with git, there is one last thing to do: update the _remote repository._ We can do this by **pushing** the commit, using the blue "Sync Changes" button shown in {numref}`commit6_VSC`.
8282

83-
```{figure} https://files.mude.citg.tudelft.nl/commit6.png
83+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit6.png
8484
---
8585
width: 80%
8686
name: commit6_VSC
@@ -96,7 +96,7 @@ Origin is the name git uses to identify the original _remote repository_ where o
9696

9797
Now that we have pushed to origin, it is easy to confirm that things worked. First, we can see that in VS Code Source Control once again shows no changes, as in {numref}`commit7_VSC`.
9898

99-
```{figure} https://files.mude.citg.tudelft.nl/commit7.png
99+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit7.png
100100
---
101101
width: 80%
102102
name: commit7_VSC
@@ -106,7 +106,7 @@ View of VS Code Source Control with no local changes.
106106

107107
In addition, we can check the remote repository directly. Visiting the [home page of the repository](https://github.com/monadevos/sandbox-public/tree/main) is the best way to check the current status. {numref}`commit8_VSC` illustrates how this paged looked just after we pushed our commit to origin. As you can see the screenshot was made very soon afterwards (the "now" message), the commit message is visible, and we can see the actual change in in the text of `README.md`.
108108

109-
```{figure} https://files.mude.citg.tudelft.nl/commit8.png
109+
```{figure} https://github.com/TUDelft-MUDE/source-files/raw/main/file/commit8.png
110110
---
111111
width: 100%
112112
name: commit8_VSC

0 commit comments

Comments
 (0)