Debian Codegraph @

intents/docs/codespace/README.md

raw
1 # Codespaces Workflow
2
3 A complete development environment can be accessed through [GitHub Codespaces](https://docs.github.com/codespaces/overview).
4
5 To get started, click the green "Code" button on the repository's main page, and then click "Create codespace on main":
6
7 ![Create codespace](create_codespace.jpg)
8
9 After a minute or two, your codespace will be ready with a VSCode editor:
10
11 ![Code editor](editor.jpg)
12
13 Before making changes, click on the "main" branch name at the bottom of the window:
14
15 ![Branch button](branch_button.jpg)
16
17 Click "Create new branch" at the top of the window:
18
19 ![Create branch](create_branch.jpg)
20
21 Enter a name for your branch and then press Enter:
22
23 ![Branch name](branch_name.jpg)
24
25 Once you've made some changes, you can run the tests right here! Choose "Terminal" and then "Run Task" from the hamburger menu (3 lines) on the left sidebar:
26
27 ![Run task](run_task.jpg)
28
29 Next, type "test" into the text box at the top and click "Run tests for current file":
30
31 ![Run tests](run_tests.jpg)
32
33 In the terminal window below, you can see if the tests were successful:
34
35 ![Test success](test_success.jpg)
36
37 When you've finished your changes, click the source control button on the left sidebar and then "Commit & Create Pull Request":
38
39 ![Commit pull request](commit_pull_request.jpg)
40
41 Enter a commit message and click the checkmark button to complete:
42
43 ![Commit message](commit_message.jpg)
44
45 Finally, enter a title and description for your pull request in the left sidebar. Click the "Create" button to submit:
46
47
48 ![Create pull request](create_pull_request.jpg)