Skip to content

Commit 18fae22

Browse files
authored
Update GHD_create.qmd
1 parent a050bb0 commit 18fae22

1 file changed

Lines changed: 44 additions & 1 deletion

File tree

GHD_create.qmd

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
11
# Creating Your Website {.sec-desktop}
22

3-
If you're less familiar with RStudio and Git, and you'd like to stay online, then using the online GitHub editor is the right choice for you!
3+
<br>
4+
5+
If you just downloaded GitHub Desktop for the first time, your application should still be on the "Let's Get Started" page. We are going to leave that alone for now.
6+
7+
In your browser, navigate to your GitHub account. We are going to create a repository for your website project.
8+
9+
These instructions largely follow the instructions from GitHub, found [here](https://pages.github.com/).
10+
11+
To start, we will create a repository (you can think of this as a folder for your project).
12+
13+
1. On your computer, create a folder somewhere. We recommend naming it something like "my_website".
14+
2. On GitHub.com, the top menu bar has a "+" icon. Click it.
15+
3. In the drop-down that appears, click "New repository".
16+
4. This will re-direct you to a page titled "Create a new repository" with various fields to fill out.
17+
5. Under the field "Repository name" you need to enter \[username\].github.io where \[username\] is replaced by your actual username.
18+
<ol type="a">
19+
<li>For example, if your username is "pandabear", then your repository would be called "pandabear.github.io".</li>
20+
</ol>
21+
6. Add a quick description in the "Description" field, such as "My professional website".
22+
7. Under visibility, select "Public".
23+
8. <details><summary>The other fields can be left on their defaults.</summary>
24+
<ol>
25+
<li>Start with a template: "No template"</li>
26+
<li>Add README: Off</li>
27+
<li>Add .gitignore: "No .gitignore"</li>
28+
<li>Add license: "No license"</li>
29+
</ol>
30+
</details>
31+
9. Now you can select the green "Create repository" button.
32+
10. GitHub will now re-direct you to the repository page. There should be nothing in it.
33+
34+
Now, we can return to the GitHub Desktop application.
35+
36+
1. Click the little refresh button next to the "Filter your repositories" text box.
37+
2. Select the repository you just created.
38+
3. Now, a blue botton at the bottom "Clone yourusername/yourrepo" appears. Click it.
39+
4. There will be a pop-up titled "Clone a repository".
40+
<ol type="a">
41+
<li>Leave the repository URL as is (assuming you clicked the right one!)</li>
42+
<li>You need to choose the local path where you would like to host your repository. Click the "Choose" button. I leave the "Clone As" field as is, and then I select the folder where I want to store this.^[I have a folder called Projects.]</li>
43+
<li>Click "Select".</li>
44+
<li>Click "Clone".</li>
45+
46+

0 commit comments

Comments
 (0)