From f1b38e4e48b38b2d6f428d46f8a60a2b81aecbbb Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 23 Oct 2019 11:54:47 -0500 Subject: [PATCH] Fix out-of-order readme section --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 182402b..8e9e835 100644 --- a/README.md +++ b/README.md @@ -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 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 ### Authentication @@ -83,20 +97,6 @@ for free. Do not expose `code-server` to the open internet without SSL, whether built-in 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 - Creating custom VS Code extensions and debugging them doesn't work.