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
+16-30
Original file line number
Diff line number
Diff line change
@@ -6,72 +6,58 @@ Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and a
6
6
7
7
## Highlights
8
8
9
-
-**Code everywhere**
10
-
- Code on your Chromebook, tablet, and laptop with a consistent development environment.
11
-
- Develop on a Linux machine and pick up from any device with a web browser.
12
-
-**Server-powered**
13
-
- Take advantage of large cloud servers to speed up tests, compilations, downloads, and more.
14
-
- Preserve battery life when you're on the go as all intensive tasks run on your server.
15
-
- Make use of a spare computer you have lying around and turn it into a full development environment.
9
+
- Code on any device with a consistent development environment
10
+
- Use cloud servers to speed up tests, compilations, downloads, and more
11
+
- Preserve battery life when you're on the go; all intensive tasks run on your server
16
12
17
13
## Getting Started
18
14
19
-
For a full setup and walkthrough, please see [./doc/guide.md](./doc/guide.md).
15
+
There are two ways to get started:
20
16
21
-
### Quick Install
17
+
1. Using the [install script](./install.sh), which automates most of the process. The script uses the system package manager (if possible)
18
+
2. Manually installing code-server; see [Installation](./doc/install.md) for instructions applicable to most use cases
22
19
23
-
We have a [script](./install.sh) to install code-server for Linux, macOS and FreeBSD.
24
-
25
-
It tries to use the system package manager if possible.
26
-
27
-
First run to print out the install process:
20
+
If you choose to use the install script, you can preview what occurs during the install process:
28
21
29
22
```bash
30
23
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
31
24
```
32
25
33
-
Now to actually install:
26
+
To install, run:
34
27
35
28
```bash
36
29
curl -fsSL https://code-server.dev/install.sh | sh
37
30
```
38
31
39
-
The install script will print out how to run and start using code-server.
40
-
41
-
### Manual Install
32
+
When done, the install script prints out instructions for running and starting code-server.
42
33
43
-
Docs on the install script, manual installation and docker image are at [./doc/install.md](./doc/install.md).
34
+
We also have an in-depth [setup and configuration](./doc/guide.md) guide.
44
35
45
36
### Alpha Program 🐣
46
37
47
-
We're working on a cloud platform to make deploying and managing code-server easier. If you don't want to worry about
38
+
We're working on a cloud platform that makes deploying and managing code-server easier. Consider [joining our alpha program](https://codercom.typeform.com/to/U4IKyv0W) if you don't want to worry about
- Have [nfpm](https://github.com/goreleaser/nfpm) (which is used to build `.deb` and `.rpm` packages and [jq](https://stedolan.github.io/jq/) (used to build code-server releases) installed
31
36
32
-
- We require a minimum of node v12 but later versions should work.
33
-
- We use [nfpm](https://github.com/goreleaser/nfpm) to build `.deb` and `.rpm` packages.
34
-
- We use [jq](https://stedolan.github.io/jq/) to build code-server releases.
35
-
- The [CI container](../ci/images/debian10/Dockerfile) is a useful reference for all our dependencies.
37
+
The [CI container](../ci/images/debian8/Dockerfile) is a useful reference for all
38
+
of the dependencies code-server uses.
36
39
37
40
## Development Workflow
38
41
39
42
```shell
40
43
yarn
41
44
yarn vscode
42
45
yarn watch
43
-
# Visit http://localhost:8080 once the build completed.
46
+
# Visit http://localhost:8080 once the build is completed.
44
47
```
45
48
46
-
To develop inside of an isolated docker container:
49
+
To develop inside an isolated Docker container:
47
50
48
51
```shell
49
52
./ci/dev/image/run.sh yarn
@@ -53,35 +56,35 @@ To develop inside of an isolated docker container:
53
56
54
57
`yarn watch` will live reload changes to the source.
55
58
56
-
If changes are made to the patch and you've built previously you must manually
57
-
reset VS Code then run `yarn vscode:patch`.
59
+
If you introduce changes to the patch and you've previously built, you
60
+
must (1) manually reset VS Code and (2) run `yarn vscode:patch`.
58
61
59
62
## Build
60
63
61
-
You can build with:
64
+
You can build using:
62
65
63
66
```shell
64
67
./ci/dev/image/run.sh ./ci/steps/release.sh
65
68
```
66
69
67
70
Run your build with:
68
71
69
-
```
72
+
```shell
70
73
cd release
71
74
yarn --production
72
75
# Runs the built JavaScript with Node.
73
76
node .
74
77
```
75
78
76
-
Build release packages (make sure you run `./ci/steps/release.sh` first):
79
+
Build the release packages (make sure that you run `./ci/steps/release.sh` first):
0 commit comments