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: docs/envsetup/01_setup.md
+21-12Lines changed: 21 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# GitHub Codespaces
2
2
3
-
GitHub Codespaces is a cloud development environment for teams to efficiently and securely develop software. It can improve your developer experience by coding in a cloud development environment.
3
+
GitHub Codespaces is a cloud development environment for teams to develop software efficiently and securely.
4
+
We use it as a training environment because it allows us to provide learners with a consistent and thoroughly tested environment.
4
5
5
6
## Creating a GitHub account
6
7
@@ -18,12 +19,18 @@ You should be presented with a page where you can create a new GitHub Codespace:
18
19
19
20

20
21
21
-
If you wish, you can click "Change options" to configure the machine used, though the defaults should be fine.
22
+
You can click "Change options" to configure the machine used.
23
+
Using a machine with more cores allows you to take greater advantage of Nextflow's ability to parallelize workflow execution.
24
+
25
+
**For our Hello Nextflow and Nextflow For Science training courses, we recommend using a 4-core machine.**
26
+
27
+
The free Github plan includes 120 core-hours of Codespaces compute per month, which amounts to 30 hours of a 4-core machine.
28
+
(See below for more information about quotas.)
22
29
23
30
!!! warning
24
31
25
32
Opening a new GitHub Codespaces environment for the first time can take several minutes.
26
-
It's worth grabbing a cup of tea and checking your emails.
33
+
Just enough time to brew a cup of tea and check your emails, or go over the intro materials if you're in a group training.
27
34
28
35
## Explore your GitHub Codespaces IDE
29
36
@@ -36,18 +43,20 @@ This is the interface of the VSCode IDE, a popular code development application
36
43
-**The sidebar** allows you to customize your GitHub Codespaces environment and perform basic tasks (copy, paste, open files, search, git, etc.). You can click the explorer button to see which files are in this repository.
37
44
-**The terminal** allows you to run all the programs in the repository. For example, both `nextflow` and `docker` are installed and can be executed.
38
45
-**The file explorer** allows you to view and edit files. Clicking on a file in the explorer will open it within the main window.
39
-
-**The main editor** showing you a preview of the `README.md` file.
46
+
-**The main editor** showing you a preview of the `README.md` file. When you open code or data files, they will open there.
40
47
41
48
## Reopening a GitHub Codespaces session
42
49
43
-
Once you have created an envionrment, you can easily resume or restart it and continue from where you left off.
50
+
Once you have created an environment, you can easily resume or restart it and continue from where you left off.
51
+
Your environment will time out after 30 minutes of inactivity and will save your changes for up to 2 weeks.
44
52
45
-
You can reopen an environment from <https://github.com/codespaces/>. Previous environments will be listed. Click a session to resume it.
53
+
You can reopen an environment from <https://github.com/codespaces/>.
If you have saved the URL for your previous GitHub Codespaces environment, you can simply open it in your browser.
50
-
51
60
Alternatively, click the same button that you used to create it in the first place:
52
61
53
62
[](https://codespaces.new/nextflow-io/training?quickstart=1&ref=master)
@@ -56,14 +65,14 @@ You should see the previous session, the default option is to resume it:
56
65
57
66

58
67
59
-
## GitHub Codespaces billing
68
+
## GitHub Codespaces quotas
60
69
61
70
GitHub Codespaces gives you up to 15 GB-month storage per month, and 120 core-hours per month.
62
-
This is equivalent to around 60 hours of free environment runtime using the standard workspace (up to 2 cores, 8 GB RAM, and 32 GB storage).
63
-
64
-
GitHub Codespaces environments are configurable. You can create them with more resources, but this will use your free usage quicker and you will have fewer hours of access to this space.
71
+
This is equivalent to around 60 hours of the default environment runtime using the standard workspace (up to 2 cores, 8 GB RAM, and 32 GB storage).
65
72
66
-
GitHub Codespaces will time out after 30 minutes of inactivity and will save your changes for up to 2 weeks.
73
+
GitHub Codespaces environments are configurable.
74
+
You can create them with more resources, but this will consume your free usage faster and you will have fewer hours of access to this space.
75
+
Optionally, you can purchase access to more resources.
67
76
68
77
More information can be found in the GitHub docs:
69
78
[About billing for GitHub Codespaces](https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)
0 commit comments