Fix out-of-order readme section

This commit is contained in:
Asher 2019-10-23 11:54:47 -05:00
parent ff99a1d768
commit f1b38e4e48
No known key found for this signature in database
GPG key ID: D63C1EF81242354A

View file

@ -56,6 +56,20 @@ arguments when launching code-server with Docker. See
- For self-hosting and other information see [doc/quickstart.md](doc/quickstart.md). - For self-hosting and other information see [doc/quickstart.md](doc/quickstart.md).
- For hosting on cloud platforms see [doc/deploy.md](doc/deploy.md). - For hosting on cloud platforms see [doc/deploy.md](doc/deploy.md).
### Build
See
[VS Code prerequisites](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites)
before building.
```shell
export OUT=/path/to/output/build # Optional if only building. Required if also developing.
yarn build ${vscodeVersion} ${codeServerVersion} # See travis.yml for the VS Code version to use.
# The code-server version can be anything you want.
node ~/path/to/output/build/out/vs/server/main.js # You can run the built JavaScript with Node.
yarn binary ${vscodeVersion} ${codeServerVersion} # Or you can package it into a binary.
```
## Security ## Security
### Authentication ### Authentication
@ -83,20 +97,6 @@ for free.
Do not expose `code-server` to the open internet without SSL, whether built-in Do not expose `code-server` to the open internet without SSL, whether built-in
or through a proxy. or through a proxy.
### Build
See
[VS Code prerequisites](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites)
before building.
```shell
export OUT=/path/to/output/build # Optional if only building. Required if also developing.
yarn build ${vscodeVersion} ${codeServerVersion} # See travis.yml for the VS Code version to use.
# The code-server version can be anything you want.
node ~/path/to/output/build/out/vs/server/main.js # You can run the built JavaScript with Node.
yarn binary ${vscodeVersion} ${codeServerVersion} # Or you can package it into a binary.
```
## Known Issues ## Known Issues
- Creating custom VS Code extensions and debugging them doesn't work. - Creating custom VS Code extensions and debugging them doesn't work.