Skip to content

Commit f1b38e4

Browse files
committedOct 23, 2019
Fix out-of-order readme section
1 parent ff99a1d commit f1b38e4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed
 

‎README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,20 @@ arguments when launching code-server with Docker. See
5656
- For self-hosting and other information see [doc/quickstart.md](doc/quickstart.md).
5757
- For hosting on cloud platforms see [doc/deploy.md](doc/deploy.md).
5858

59+
### Build
60+
61+
See
62+
[VS Code prerequisites](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites)
63+
before building.
64+
65+
```shell
66+
export OUT=/path/to/output/build # Optional if only building. Required if also developing.
67+
yarn build ${vscodeVersion} ${codeServerVersion} # See travis.yml for the VS Code version to use.
68+
# The code-server version can be anything you want.
69+
node ~/path/to/output/build/out/vs/server/main.js # You can run the built JavaScript with Node.
70+
yarn binary ${vscodeVersion} ${codeServerVersion} # Or you can package it into a binary.
71+
```
72+
5973
## Security
6074

6175
### Authentication
@@ -83,20 +97,6 @@ for free.
8397
Do not expose `code-server` to the open internet without SSL, whether built-in
8498
or through a proxy.
8599

86-
### Build
87-
88-
See
89-
[VS Code prerequisites](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites)
90-
before building.
91-
92-
```shell
93-
export OUT=/path/to/output/build # Optional if only building. Required if also developing.
94-
yarn build ${vscodeVersion} ${codeServerVersion} # See travis.yml for the VS Code version to use.
95-
# The code-server version can be anything you want.
96-
node ~/path/to/output/build/out/vs/server/main.js # You can run the built JavaScript with Node.
97-
yarn binary ${vscodeVersion} ${codeServerVersion} # Or you can package it into a binary.
98-
```
99-
100100
## Known Issues
101101

102102
- Creating custom VS Code extensions and debugging them doesn't work.

0 commit comments

Comments
 (0)
Please sign in to comment.