1- # code-server
2- [ ![ "Open Issues"] ( https://img.shields.io/github/issues-raw/cdr/code-server.svg )] ( https://github.com/cdr/code-server/issues )
3- [ ![ "Latest Release"] ( https://img.shields.io/github/release/cdr/code-server.svg )] ( https://github.com/cdr/code-server/releases/latest )
4- [ ![ MIT license] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/cdr/code-server/blob/master/LICENSE )
5- [ ![ Discord] ( https://img.shields.io/discord/463752820026376202.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2 )] ( https://discord.gg/zxSwN8Z )
1+ # code-server [ ![ "Latest Release"] ( https://img.shields.io/github/release/cdr/code-server.svg )] ( https://github.com/cdr/code-server/releases/latest ) [ ![ MIT license] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/cdr/code-server/blob/master/LICENSE ) [ ![ Discord] ( https://img.shields.io/discord/463752820026376202.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2 )] ( https://discord.gg/zxSwN8Z )
62
73` code-server ` is [ VS Code] ( https://github.com/Microsoft/vscode ) running on a
84remote server, accessible through the browser.
95
106Try it out:
117``` bash
12- docker run -it -p 127.0.0.1:8443:8443 -p 127.0.0.1:8444:8444 -v " $PWD :/home/coder/project" codercom/code-server --allow-http --no-auth
8+ docker run -it -p 127.0.0.1:8443:8443 -p 127.0.0.1:8444:8444 -v " $PWD :/home/coder/project" codercom/code-server
139```
1410
1511- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
@@ -29,29 +25,20 @@ Use [sshcode](https://github.com/codercom/sshcode) for a simple setup.
2925See docker oneliner mentioned above. Dockerfile is at
3026[ /Dockerfile] ( /Dockerfile ) .
3127
32- ### Binaries
33- 1 . [ Download a binary] ( https://github.com/cdr/code-server/releases ) (Linux and
34- OS X supported. Windows coming soon)
35- 2 . Start the binary with the project directory as the first argument
36-
37- ```
38- code-server <initial directory to open>
39- ```
40- You will be prompted to enter the password shown in the CLI. ` code-server `
41- should now be running at https://localhost:8443 .
42-
43- ` code-server ` uses a self-signed SSL certificate that may prompt your
44- browser to ask you some additional questions before you proceed. Please
45- [ read here] ( doc/self-hosted/index.md ) for more information.
28+ To debug Golang using the
29+ [ ms-vscode-go extension] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.Go ) ,
30+ you need to add ` --security-opt seccomp=unconfined ` to your ` docker run `
31+ arguments when launching code-server with Docker. See
32+ [ #725 ] ( https://github.com/cdr/code-server/issues/725 ) for details.
4633
47- For detailed instructions and troubleshooting, see the
48- [ self-hosted quick start guide] ( doc/self-hosted/index.md ) .
49-
50- Quickstart guides for [ Google Cloud] ( doc/admin/install/google_cloud.md ) ,
51- [ AWS] ( doc/admin/install/aws.md ) , and
52- [ DigitalOcean] ( doc/admin/install/digitalocean.md ) .
34+ ### Binaries
35+ 1 . [ Download a binary] ( https://github.com/cdr/code-server/releases ) (Linux and
36+ OS X supported. Windows coming soon).
37+ 2 . Unpack the downloaded file then run the binary.
38+ 3 . In your browser navigate to ` localhost:8443 ` .
5339
54- How to [ secure your setup] ( /doc/security/ssl.md ) .
40+ - For self-hosting and other information see [ doc/quickstart.md] ( doc/quickstart.md ) .
41+ - For hosting on cloud platforms see [ doc/deploy.md] ( doc/deploy.md ) .
5542
5643### Build
5744- If you also plan on developing, set the ` OUT ` environment variable:
@@ -69,12 +56,9 @@ How to [secure your setup](/doc/security/ssl.md).
6956 code into a single binary.
7057
7158## Known Issues
59+ - Uploading .vsix files doesn't work.
7260- Creating custom VS Code extensions and debugging them doesn't work.
73- - To debug Golang using
74- [ ms-vscode-go extension] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.Go ) ,
75- you need to add ` --security-opt seccomp=unconfined ` to your ` docker run `
76- arguments when launching code-server with Docker. See
77- [ #725 ] ( https://github.com/cdr/code-server/issues/725 ) for details.
61+ - Extension profiling and tips are currently disabled.
7862
7963## Future
8064- ** Stay up to date!** Get notified about new releases of code-server.
@@ -86,17 +70,17 @@ How to [secure your setup](/doc/security/ssl.md).
8670## Extensions
8771At the moment we can't use the official VSCode Marketplace. We've created a
8872custom extension marketplace focused around open-sourced extensions. However,
89- if you have access to the ` .vsix ` file, you can manually install the extension.
73+ you can manually download the extension to your extensions directory. It's also
74+ possible to host your own marketplace by setting the ` SERVICE_URL ` and
75+ ` ITEM_URL ` environment variables.
9076
9177## Telemetry
92- Use the ` --disable-telemetry ` flag to completely disable telemetry.
93-
94- We use the data collected to improve code-server.
78+ Use the ` --disable-telemetry ` flag to completely disable telemetry. We use the
79+ data collected to improve code-server.
9580
9681## Contributing
97-
9882### Development
99- ``` fish
83+ ``` shell
10084git clone https://github.com/microsoft/vscode
10185cd vscode
10286git checkout 1.36.1
10791yarn watch
10892# Wait for the initial compilation to complete (it will say "Finished compilation").
10993# Run the next command in another shell.
110- yarn start --allow-http --no-auth
94+ yarn start
11195# Visit http://localhost:8443
11296```
11397
@@ -130,7 +114,7 @@ Our changes include:
130114 - Rewrite assets used in the CSS (like icons) or as images to use the base URL.
131115 - Change the loader to use the base URL.
132116 - Change the web socket to use the base URL.
133- - Set the favicon ( using a relative path) .
117+ - Set the favicon using a relative path.
134118 - Modify the file service to support writing from an asynchronous stream (for
135119 uploading files).
136120 - Add a file prefix to ignore for temporary files created during upload.
0 commit comments