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
{{ message }}
This repository was archived by the owner on Apr 19, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/docs/languages/html.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,15 @@
6
6
7
7
Here are a few HTML/CSS example projects that are already automated with Gitpod:
8
8
9
-
Repository | Description | Try it
10
-
---|---|---
11
-
[Front-End-Checklist](https://github.com/thedaviddias/Front-End-Checklist) | The perfect Front-End Checklist for modern websites and meticulous developers | [](https://gitpod.io/#https://github.com/thedaviddias/Front-End-Checklist)
12
-
[Devhints](https://github.com/rstacruz/cheatsheets) | TL;DR for developer documentation - a ridiculous collection of cheatsheets | [](https://gitpod.io/#https://github.com/rstacruz/cheatsheets)
9
+
10
+
<divclass="language-examples table-container">
11
+
12
+
|Repository | Description | Try it|
13
+
|---|---|---|
14
+
|[Front-End-Checklist](https://github.com/thedaviddias/Front-End-Checklist)| The perfect Front-End Checklist for modern websites and meticulous developers |[](https://gitpod.io/#https://github.com/thedaviddias/Front-End-Checklist)|
15
+
|[Devhints](https://github.com/rstacruz/cheatsheets)| for developer documentation - a ridiculous collection of cheatsheets |[](https://gitpod.io/#https://github.com/rstacruz/cheatsheets)|
|[gitpod-io/django-locallibrary-tutorial](https://github.com/gitpod-io/django-locallibrary-tutorial)| An example website written in Django by MDN |[](https://gitpod.io/#https://github.com/gitpod-io/django-locallibrary-tutorial)|
14
-
|[gitpod-io/Gitpod-PyQt](https://github.com/gitpod-io/Gitpod-PyQt)| A PyQt example for Gitpod |[](https://gitpod.io/#https://github.com/gitpod-io/Gitpod-PyQt)|
15
-
|[gitpod-io/wxPython-example](https://github.com/gitpod-io/wxPython-example)| A wxPython example for Gitpod |[](https://gitpod.io/#https://github.com/gitpod-io/wxPython-example)|
16
-
|[techwithtim/Hangman](https://github.com/techwithtim/Hangman)|A wxPython example for Gitpod |[](https://gitpod.io/#https://github.com/techwithtim/Hangman)|
|[gitpod-io/django-locallibrary-tutorial](https://github.com/gitpod-io/django-locallibrary-tutorial)| An example website written in Django by MDN |[](https://gitpod.io/#https://github.com/gitpod-io/django-locallibrary-tutorial)|
14
+
|[gitpod-io/Gitpod-PyQt](https://github.com/gitpod-io/Gitpod-PyQt)|A PyQt example for Gitpod |[](https://gitpod.io/#https://github.com/gitpod-io/Gitpod-PyQt)|
15
+
|[gitpod-io/wxPython-example](https://github.com/gitpod-io/wxPython-example)| A wxPython example for Gitpod |[](https://gitpod.io/#https://github.com/gitpod-io/wxPython-example)|
16
+
|[techwithtim/Hangman](https://github.com/techwithtim/Hangman)| A wxPython example for Gitpod |[](https://gitpod.io/#https://github.com/techwithtim/Hangman)|
17
17
18
18
</div>
19
19
@@ -28,28 +28,35 @@ You can switch between Python versions using `pyenv local <VERSION>`. For exampl
You can start building your project when, or even [before](https://www.gitpod.io/docs/prebuilds/) you start your Gitpod workspace. Are you using a `requirements.txt` file to manage dependencies? If so, add this to your [.gitpod.yml](https://www.gitpod.io/docs/config-gitpod-file/) to automatically pre-install all dependencies when starting a workspace:
31
+
31
32
```yaml
32
33
tasks:
33
34
- init: pip3 install -r requirements.txt
34
35
command: python3 main.py
35
36
```
36
37
37
38
## VSCode Extensions
39
+
38
40
While the most popular Python VSCode extensions are built into Gitpod, here are a few "nice to have" extensions that you can use as well.
1. First, open the Python file that we want to debug
122
132
2. Then, go to the debug menu and select "Add Configuration..."
123
133
3. Next, in the dropdown choose "Python"
@@ -127,25 +137,26 @@ So, basically in this video we:
127
137
You can also create the Python debug configuration file manually
128
138
129
139
To start debugging your Python application in Gitpod, please create a new directory called `.theia/`, and inside add a file called `launch.json`, finally, add the following to it:
140
+
130
141
```json
131
142
{
132
-
"version": "0.2.0",
133
-
"configurations": [
134
-
{
135
-
"name": "Python: Current File",
136
-
"type": "python",
137
-
"request": "launch",
138
-
"program": "${file}",
139
-
"console": "internalConsole"
140
-
}
141
-
]
143
+
"version": "0.2.0",
144
+
"configurations": [
145
+
{
146
+
"name": "Python: Current File",
147
+
"type": "python",
148
+
"request": "launch",
149
+
"program": "${file}",
150
+
"console": "internalConsole"
151
+
}
152
+
]
142
153
}
143
154
```
155
+
144
156
Then, simply open the Python file you want to debug, open the Debug panel (in the left vertical toolbar, click the icon with the crossed-out-spider), and click the green "Run" button.
145
157
146
158
<br>
147
159
148
-
149
160
To see a basic repository with Python debugging enabled, please check out [gitpod-io/Gitpod-Python-Debug](https://github.com/gitpod-io/Gitpod-Python-Debug):
150
161
151
162
[](https://gitpod.io/#https://github.com/gitpod-io/Gitpod-Python-Debug)
0 commit comments