Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.09 KB

digitalocean.md

File metadata and controls

15 lines (10 loc) · 1.09 KB

deploying code-server on DigitalOcean

DigitalOcean is an developer-friendly platform with cloud servers. Here is the easiest way to launch code-server on DigitalOcean:


  1. Log into DigitalOcean and create a new Ubuntu 20.10 droplet with any size, in any region

  2. Under "Select additional options," check User data. This will allow you to specify a script that will run on first boot.

  3. Paste in the contents of launch-code-server.sh to the textarea.

  4. Create your server. Feel free to add SSH keys or other preferences.

  5. Once your server starts, you can simply navigate to the IP address and get forwarded to a secure version of code-server, which will be proxied behind your GitHub account. For information on how this works, see code-server --link.

    DigitalOcean launch code-server

See our troubleshooting guide if you are unable to connect after some time.