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: README.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,24 @@ At Gitpod we've been asked a lot about how we do it. So we thought we might just
18
18
19
19
## Getting started
20
20
21
-
The easiest way to get started is ...
21
+
### Docker
22
+
23
+
- Start the server:
24
+
```bash
25
+
docker run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/vscode
26
+
```
27
+
- after this, visit [localhost:3000](http://localhost:3000).
28
+
29
+
### Linux
30
+
31
+
-[Download the latest release](https://github.com/gitpod-io/vscode-releases/releases/latest)
32
+
- untar and run the server:
33
+
```bash
34
+
tar -xzf code-web-server-v*.tar.gz
35
+
cd code-web-server-v*
36
+
./server.sh
37
+
```
38
+
- after this, visit [localhost:3000](http://localhost:3000).
22
39
23
40
## The scope of this project
24
41
@@ -27,3 +44,29 @@ This project really only adds the minimal bits required to run VS Code in a web
27
44
> **For any feature requests, bug reports, or contributions that are not specific to running VS Code in a web server context,**
28
45
>
29
46
> **please go to [Visual Studio Code - Open Source "OSS"](https://github.com/microsoft/vscode)**
47
+
48
+
## Contributing
49
+
50
+
### Starting from sources
51
+
52
+
-[Start a Gitpod workspace](https://gitpod.io/#https://github.com/gitpod-io/vscode/tree/web-server)
53
+
- Dev version of the server should be already up and running. Notice that the dev version is slower to load since it is not bundled (around 2000 files).
54
+
55
+
### Updating VS Code
56
+
57
+
- Update your local VS Code, open the About dialog and remember the release commit and Node.js version.
58
+
- Fetch latest upstream changes and rebase the branch based on the local VS Code's commit. Drop all commits before `code web server initial commit`.
59
+
- Check that [.gitpod.Dockerfile](./.gitpod.Dockerfile) and [remote/.yarnrc](./remote/.yarnrc) has latest major Node.js version of local VS Code's Node.js version.
0 commit comments