Skip to content

Commit 785f880

Browse files
hrittikherejeanp413
authored andcommitted
Updates on boilerplate
1 parent bca685f commit 785f880

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/guides/azure-vm/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,45 @@ To complete this guide, you need:
77

88
## Setup
99

10+
### Create a VM
11+
12+
1. Navigate to https://portal.azure.com/#create/Microsoft.VirtualMachine-ARM
13+
1. Launch a Ubuntu 20.04 instance with the default settings
14+
* **Caution**: Please follow security best practices when setting up your VM
15+
16+
### Download & extract OpenVSCode Server
17+
18+
**Caution**: Make sure you successfully connected to the VM before you execute the following commands.
19+
20+
First, let's define the release version we want to download. You can find the latest version on the [Releases](https://github.com/gitpod-io/openvscode-server/releases) page.
21+
22+
```bash
23+
export SERVER_VERSION=1.60.0 # Replace with the latest version
24+
```
25+
26+
With that in place, let's download & extract OpenVSCode server:
27+
28+
```bash
29+
wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v$SERVER_VERSION/openvscode-server-v$SERVER_VERSION-linux-x64.tar.gz -O code-server.tar.gz
30+
tar -xzf code-server.tar.gz
31+
rm code-server.tar.gz
32+
```
33+
34+
1035

1136
## Start the server
1237

38+
While you are still connected to the VM, execute the following commands to start OpenVSCode Server:
39+
40+
```bash
41+
cd openvscode-server-v$SERVER_VERSION-linux-x64
42+
./server.sh
43+
```
44+
1345
## Access OpenVSCode Server
1446

47+
1548
## Teardown
49+
50+
1. Navigate to your VM's instance dashboard page
51+
1. Click on "Stop"

0 commit comments

Comments
 (0)