README.md 3.1 KB
Newer Older
K
Kyle Carberry 已提交
1
# code-server
A
Asher 已提交
2

K
Kyle Carberry 已提交
3 4 5
[!["Open Issues"](https://img.shields.io/github/issues-raw/codercom/code-server.svg)](https://github.com/codercom/code-server/issues)
[!["Latest Release"](https://img.shields.io/github/release/codercom/code-server.svg)](https://github.com/codercom/code-server/releases/latest)
[![MIT license](https://img.shields.io/badge/license-MIT-green.svg)](#)
C
Colin 已提交
6
[![Discord](https://discordapp.com/api/guilds/463752820026376202/widget.png)](https://discord.gg/zxSwN8Z)
A
Asher 已提交
7

8 9
`code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a remote server, accessible through the browser.

10 11
Try it out:
```bash
K
Kyle Carberry 已提交
12
docker run -t -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
13 14
```

15 16 17 18
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
	- If you have a Windows or Mac workstation, more easily develop for Linux.
- Take advantage of large cloud servers to speed up tests, compilations, downloads, and more.
- Preserve battery life when you're on the go.
J
Jeremy Pinnix 已提交
19
	- All intensive computation runs on your server.
20
	- You're no longer running excess instances of Chrome.
K
Kyle Carberry 已提交
21 22 23 24 25

![Screenshot](/doc/assets/ide.png)

## Getting Started

26 27
### Hosted

K
Kyle Carberry 已提交
28 29
[Try `code-server` now](https://coder.com/signup) for free at coder.com.

30 31 32 33 34
### Docker

See docker oneliner mentioned above. Dockerfile is at [/Dockerfile](/Dockerfile).

### Binaries
35

M
Mike Hatch 已提交
36
1.  [Download a binary](https://github.com/codercom/code-server/releases) (Linux and OS X supported. Windows coming soon)
K
Kyle Carberry 已提交
37 38 39
2.  Start the binary with the project directory as the first argument

    ```
S
Semen Zhydenko 已提交
40
    code-server <initial directory to open>
K
Kyle Carberry 已提交
41 42
    ```
	> You will be prompted to enter the password shown in the CLI
A
Asher 已提交
43
	`code-server` should now be running at https://localhost:8443.
A
Asher 已提交
44

K
Kyle Carberry 已提交
45 46 47 48 49
	> code-server uses a self-signed SSL certificate that may prompt your browser to ask you some additional questions before you proceed. Please [read here](doc/self-hosted/index.md) for more information.

For detailed instructions and troubleshooting, see the [self-hosted quick start guide](doc/self-hosted/index.md).

Quickstart guides for [Google Cloud](doc/admin/install/google_cloud.md), [AWS](doc/admin/install/aws.md), and [Digital Ocean](doc/admin/install/digitalocean.md).
A
Asher 已提交
50

K
Kyle Carberry 已提交
51 52 53 54 55 56
How to [secure your setup](/doc/security/ssl.md).

## Development

### Known Issues

57
- Creating custom VS Code extensions and debugging them doesn't work.
K
Kyle Carberry 已提交
58 59 60 61

### Future

- Windows support.
M
Mike Hatch 已提交
62
- Electron and Chrome OS applications to bridge the gap between local<->remote.
K
Kyle Carberry 已提交
63 64
- Run VS Code unit tests against our builds to ensure features work as expected.

65 66 67 68
### Notes

- At the moment we can't use the official VSCode Marketplace. We've created a custom extension marketplace focused around open-sourced extensions. However, if you have access to the `.vsix` file, you can manually install the extension.

K
Kyle Carberry 已提交
69
## Contributing
A
Asher 已提交
70

71
Development guides are coming soon.
A
Asher 已提交
72

K
Kyle Carberry 已提交
73
## License
A
Asher 已提交
74

K
Kyle Carberry 已提交
75
[MIT](LICENSE)
A
Asher 已提交
76

K
Kyle Carberry 已提交
77
## Enterprise
A
Asher 已提交
78

79
Visit [our enterprise page](https://coder.com/enterprise) for more information about our enterprise offering.
A
Asher 已提交
80 81 82 83

## Commercialization

If you would like to commercialize code-server, please contact contact@coder.com.