Skip to content

Commit e8d4da6

Browse files
committed
🖊️
1 parent 810f139 commit e8d4da6

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

contents/computing-environment.qmd

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,33 @@ It should be as easy as possible to grab the whole onion and take it where you w
2323
be that a local VSCode editor on your laptop, or an RStudio Server instance
2424
running up on Microsoft Azure cloud.
2525

26-
## On the cloud: Codespaces
26+
## On the cloud: Gitpod or Codespaces
2727

28+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/boettiger-lab/nasa-topst-env-justice)
2829
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/espm-157/nasa-topst-env-justice?quickstart=1)
2930

31+
Both [GitHub Codespaces](https://github.com/codespaces) and [Gitpod](https://gitpod.io/about) provide
32+
a fast and simple way to enter into integrated development environments such as VSCode, RStudio, or JupyterLab
33+
on free, cloud-based virtual machines. Codespaces has a free tier of 60 hours/month, Gitpod of 50 hours a month,
34+
both offer paid plans for additional use and larger compute instances. Small codespace instances are also [free to instructors](https://docs.github.com/en/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/using-github-codespaces-with-github-classroom)
3035

31-
By clicking the "Open in GitHub Codespaces" button on the README in GitHub, users
36+
37+
By clicking on one of the buttons in GitHub, users
3238
will be placed into a free cloud-based virtual machine running a VSCode editor
3339
in their web browser. The first setup can take a few minutes to complete.
3440

3541
Additionally, this also provides access to an RStudio environment on an embedded port for users
3642
who prefer that editor to VSCode. Once the Codespace has fully completed loading, it
3743
will include a link in a second welcome message in the Terminal to access RStudio like so:
3844

39-
![](img/vscode-welcome.png)
45+
<img align="right" src="mg/vscode-welcome.png" width="250">
4046

4147
The RStudio link can also always be accessed from the Ports tab under the port labeled "Rstudio" (8787).
48+
(Gitpod will show a pop-up message to open this port instead.)
4249

43-
Both the VSCode and RStudion editors run in the same underlying custom Docker container, which
50+
Both Codespaces and Gitpod can be configured with custom compute environments by supplying a docker image.
51+
Both the VSCode and RStudio editors run in the same underlying custom Docker container.
52+
This repository includes a Dockerfile defining this compute environment which
4453
includes specific versions of R and python packages, the
4554
latest releases of the OSGeo C libraries GDAL, PROJ, and GEOS that power
4655
many spatial operations in both languages. These elements are pre-compiled

0 commit comments

Comments
 (0)