Skip to content

Commit

Permalink
From Gitpod to GH Codespaces (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Oct 8, 2024
1 parent f697e2a commit 621c005
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile → .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN gem install yaml

RUN rm -Rf /var/lib/apt/lists/*

RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod && \
RUN useradd -l -u 33333 -G sudo -md /home/coder -s /bin/bash -p coder coder && \
sed -i.bkp -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers

EXPOSE 8000
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "iCub Tech Documentation",
"build": {
"dockerfile": "../.gitpod.Dockerfile"
"dockerfile": "Dockerfile"
},
"extensions": [],
"forwardPorts": [8000],
"remoteUser": "gitpod"
"remoteUser": "coder"
}
5 changes: 0 additions & 5 deletions .gitpod.yml

This file was deleted.

11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@ This repository is maintained by:
# ☁ Cloud Workflow
You can leverage on the following Cloud IDE's to quickly get a testing platform where to try out how the documentation is rendered.

## 🔘 [Gitpod](https://www.gitpod.io)
First off, sign up for Gitpod using your GitHub credentials. You'll have 50 hours/month of free usage on public and private repositories. Also, remember to visit the [Gitpod Integrations](https://gitpod.io/integrations) to make sure that all GitHub permissions are ticked in.

Then, install the [Gitpod browser extension](https://www.gitpod.io/docs/browser-extension).

| Click to enlarge |
| :---: |
| ![](./assets/gitpod.gif) |

## 🔘 [GitHub Codespaces](https://github.com/features/codespaces) (if available)
## 🔘 [GitHub Codespaces](https://github.com/features/codespaces)

| Click to enlarge |
| :---: |
Expand Down
Binary file removed assets/gitpod.gif
Binary file not shown.

0 comments on commit 621c005

Please sign in to comment.