mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
58 lines
1.8 KiB
Markdown
58 lines
1.8 KiB
Markdown
# code-server
|
|
|
|
`code-server` is [VS Code](https://github.com/Microsoft/vscode) running on a
|
|
remote server, accessible through the browser.
|
|
|
|
Try it out:
|
|
|
|
```bash
|
|
docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" codercom/code-server
|
|
```
|
|
|
|
- **Consistent environment:** Code on your Chromebook, tablet, and laptop with a
|
|
consistent dev environment. Develop more easily for Linux if you have a
|
|
Windows or Mac and pick up where you left off when switching workstations.
|
|
- **Server-powered:** Take advantage of large cloud servers to speed up tests,
|
|
compilations, downloads, and more. Preserve battery life when you're on the go
|
|
since all intensive computation runs on your server.
|
|
|
|
![Example gif](/doc/assets/ide.gif)
|
|
|
|
## Getting Started
|
|
|
|
### Requirements
|
|
|
|
- 64-bit host.
|
|
- At least 1GB of RAM.
|
|
- 2 cores or more are recommended (1 core works but not optimally).
|
|
- Secure connection over HTTPS or localhost (required for service workers and
|
|
clipboard support).
|
|
- For Linux: GLIBC 2.17 or later and GLIBCXX 3.4.15 or later.
|
|
|
|
### Run over SSH
|
|
|
|
Use [sshcode](https://github.com/codercom/sshcode) for a simple setup.
|
|
|
|
### Digital Ocean
|
|
|
|
[![Create a Droplet](./doc/assets/droplet.svg)](https://marketplace.digitalocean.com/apps/code-server?action=deploy)
|
|
|
|
### Binaries
|
|
|
|
1. [Download a binary](https://github.com/cdr/code-server/releases). (Linux and
|
|
OS X supported. Windows coming soon)
|
|
2. Unpack the downloaded file then run the binary.
|
|
3. In your browser navigate to `localhost:8080`.
|
|
|
|
- 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).
|
|
|
|
## FAQ
|
|
|
|
See [./doc/FAQ.md](./doc/FAQ.md).
|
|
|
|
## Enterprise
|
|
|
|
Visit [our enterprise page](https://coder.com) for more information about our
|
|
enterprise offerings.
|