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
> * We strongly suggest that you go to GitHub.com and [Fork our SciPy 2025 workshop repository](https://github.com/pyOpenSci/pyopensci-scipy25-create-python-package) just in case something with your local installation isn't working. This will ensure that you can follow along with us regardless of your environment setup!
66
+
> * JupyterLab or Jupyter Notebook is **not ideal** for the packaging work we’ll be doing.
65
67
{: .notice }
66
68
67
69
If you run into issues, please [join our Discord and ask for help](https://discord.gg/m7RFFxnc) before the workshop.
68
70
69
71
70
72
## 2b. If you plan to use GitHub Codespaces (SUGGESTED)
71
73
72
-
We strongly suggest that you use our curated [GitHub Codespace](https://codespaces.new/pyOpenSci/ff-2024-create-python-package?quickstart=1), which you can find in your forked workshop repository. This workspace is already set up with
74
+
We strongly recommend using our curated [GitHub Codespace](https://codespaces.new/pyOpenSci/ff-2024-create-python-package?quickstart=1), which can be found in your forked workshop repository. This workspace is already set up with:
73
75
74
-
* VSCode, copier, Hatch, and everything you need to successfully create your first Python package. Codespaces also allows you to easily commit your work during the workshop to your own forked GitHub repository.
76
+
* VSCode, copier, Hatch, and everything you need to create your first Python package successfully. Codespaces also allows you to easily commit your work during the workshop to your own forked GitHub repository.
75
77
76
-
### Before the workshop do the following
78
+
**Before the workshop do the following**
77
79
78
-
* Go to GitHub.com and [Fork the workshop repository](https://github.com/pyOpenSci/pyopensci-scipy25-create-python-package)
80
+
* Go to GitHub.com and [Fork our SciPy 2025 workshop repository](https://github.com/pyOpenSci/pyopensci-scipy25-create-python-package)
***Create a branch** in your fork to work on during the workshop.
87
-
***Launch the repository codespace from your fork, BEFORE the workshop begins**. The initial spin-up for a codespace can take up to 15 minutes or longer. Once it's been created, it will be quicker to relaunch.
## <iclass="fa-solid fa-cloud"></i> About GitHub Codespaces: Working in the cloud
97
-
98
-
99
-
## What is a codespace
100
-
101
-
GitHub Codespaces are cloud-based development environments that let you
102
-
code directly in your browser—no local setup needed. They provide fully
103
-
configured, container-based environments connected to your GitHub
104
-
repository.
105
-
106
-
You can customize Codespaces with `.devcontainer` files to match your
107
-
development setup. The Codespace for this workshop opens in Visual Studio
108
-
Code by default, but you can configure it to use any IDE you prefer.
109
-
110
-
Learn more in the [GitHub Codespaces docs](https://docs.github.com/en/codespaces/overview).
111
-
112
-
Codespaces are free for up to 60 hours/month on GitHub’s free plan. Be sure
113
-
to shut yours down after the workshop to conserve your allocated time.
114
-
{: .notice}
115
-
116
-
117
-
### How to open a codespace
90
+
<iclass="fa-solid fa-circle-info"></i> The initial spin-up for a codespace can take up to 15 minutes or longer. Once GitHub creates the cloud environment, it will be quicker to relaunch. Please do this before attending the workshop session.
91
+
{: .notice }
118
92
119
-
To open a Codespace,
93
+
To open your Codespace,
120
94
121
95
* Go to your forked SciPy 2025 workshop repository on GitHub,
122
96
* Switch to a branch that you want to work on during the workshop,
@@ -126,7 +100,9 @@ To open a Codespace,
126
100
Within the Codespaces tab you will see a button: <kbdstyle="background-color: #2da44e; color: white; padding: 2px6px; border-radius: 4px;">
127
101
Create codespace on main
128
102
</kbd>. This button launches a Codespace from the currently active branch. It will default to the
129
-
`main` branch if you haven't changed your branch yet.
103
+
`main` branch if you haven't changed your branch in the repository.
104
+
105
+
The animated gif below walks you through how this works.
130
106
131
107
<figurestyle="width: 55%; margin: 0auto;">
132
108
<picture>
@@ -138,18 +114,26 @@ Create codespace on main
138
114
</figure>
139
115
140
116
> <iclass="fa-solid fa-circle-info"></i> To follow GitHub best practices, always create a new branch before making
141
-
> changes. Avoid working directly on the `main` branch.
117
+
> changes to a repository, even if you own the repository. Avoid working directly on the `main` branch.
142
118
143
-
If you switch branches in GitHub, Codespaces will launch from the
144
-
selected, active branch.
119
+
## <iclass="fa-solid fa-cloud"></i> About GitHub Codespaces: Working in the cloud
0 commit comments