You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-69Lines changed: 22 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,85 +16,38 @@ _Develop code using GitHub Codespaces and Visual Studio Code!_
16
16
</header>
17
17
18
18
<!--
19
-
<<< Author notes: Step 4 >>>
20
-
Start this step by acknowledging the previous step.
21
-
Define terms and link to docs.github.com.
19
+
<<< Author notes: Finish >>>
20
+
Review what we learned, ask for feedback, provide next steps.
22
21
-->
23
22
24
-
## Step 4: Personalize your codespace!
23
+
## Finish
25
24
26
-
_Nicely done customizing your codespace!_:partying_face:
25
+
_Congratulations friend, you've completed this course!_
27
26
28
-
When using any development environment, customizing the settings and tools to your preferences and workflows is an important step. GitHub Codespaces offers two main ways of personalizing your codespace: `Settings Sync` with VS Code and `dotfiles`.
Here's a recap of all the tasks you've accomplished in your repository:
31
30
32
-
**What are `dotfiles`?** Dotfiles are files and folders on Unix-like systems starting with . that control the configuration of applications and shells on your system. You can store and manage your dotfiles in a repository on GitHub.
31
+
- You learned how to create a codespace and push code to your repository from the codespace.
32
+
- You learned how to use custom images in your codespace.
33
+
- You learned how to customize your codespace.
34
+
- You learned how to personalize your codespace.
33
35
34
-
Let's see how this works!
36
+
### Additional learning and resources
35
37
36
-
### :keyboard: Activity: Enable a `dotfile` for your codespace
38
+
-[Developing in a codespace](https://docs.github.com/en/codespaces/developing-in-codespaces/developing-in-a-codespace). Learn how to delete a codespace, open an existing codespace, connect to a private network, forward ports, and much more.
39
+
-[Set up your repository](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers). Learn how to set minimum machine specs for a codespace, add badges, set up a template repo, and much more.
40
+
-[Personalize and customize GitHub Codespaces](https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account). Learn how to use setting sync for your codespace, add dotfiles, set the default region, set the default editor, and much more.
41
+
-[Prebuild your codespace](https://docs.github.com/en/codespaces/prebuilding-your-codespaces/about-github-codespaces-prebuilds)
42
+
-[Manage your codespace](https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/enabling-github-codespaces-for-your-organization)
37
43
38
-
1. Start from the landing page of your repository.
39
-
1. In the upper-right corner of any page, click your profile photo, and then click **Settings**.
40
-
1. In the **Code, planning, and automation** section of the sidebar, click **Codespaces**.
41
-
1. Under **Dotfiles**, select **Automatically install dotfiles** so that GitHub Codespaces automatically installs your dotfiles into every new codespace you create.
42
-
1. Click **Select repository** and then choose your current skills working repository as the repository from which to install dotfiles.
44
+
### What's next?
43
45
44
-
### :keyboard: Activity: Add a `dotfile` to your repository and run your codespace
45
-
46
-
1. Start from the landing page of your repository.
47
-
1. Click the **Code** button located in the middle of the page.
48
-
1. Click the **Codespaces** tab on the box that pops up.
49
-
1. Click the **Create codespace on main** button.
50
-
51
-
> Wait about **2 minutes** for the codespace to spin itself up.
52
-
53
-
1. Verify your codespace is running. The browser should contain a VS Code web-based editor and a terminal should be present such as the below:
1. From inside the codespace in the VS Code explorer window, create a new file `setup.sh`.
58
-
1. Add the following code inside of the file:
59
-
60
-
```bash
61
-
#!/bin/bash
62
-
63
-
sudo apt-get update
64
-
sudo apt-get install sl
65
-
```
66
-
67
-
1. Save the file.
68
-
> **Note**: The file should autosave.
69
-
1. Commit the file changes. From the VS Code terminal enter:
70
-
71
-
```shell
72
-
git add setup.sh --chmod=+x
73
-
git commit -m "Adding setup.sh from the codespace!"
74
-
```
75
-
76
-
1. Push the changes back to your repository. From the VS Code terminal, enter:
77
-
78
-
```shell
79
-
git push
80
-
```
81
-
82
-
1. Switch back to the homepage of your repository and view the `setup.sh` to verify the new code was pushed to your repository.
83
-
1. Close the codespace web browser tab.
84
-
1. Click the **Create codespace on main** button.
85
-
86
-
> Wait about **2 minutes** for the codespace to spin itself up.
87
-
88
-
1. Verify your codespace is running, as you did previously.
89
-
1. Verify the `setup.sh` file is present in your VS Code editor.
90
-
1. From the VS Code terminal, type or paste:
91
-
92
-
```shell
93
-
/usr/games/sl
94
-
```
95
-
96
-
1. Enjoy the show!
97
-
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
46
+
- Learn more about securing your supply chain by reading: [GitHub Codespaces overview](https://docs.github.com/en/codespaces/overview).
47
+
-[We'd love to hear what you thought of this course](https://github.com/orgs/skills/discussions/categories/code-with-codespaces).
48
+
-[Learn another GitHub skill](https://github.com/skills).
49
+
-[Read the Get started with GitHub docs](https://docs.github.com/en/get-started).
50
+
- To find projects to contribute to, check out [GitHub Explore](https://github.com/explore).
0 commit comments