Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloud-shell-tutorial.md #549

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions guides/gcp-gce/cloud-shell-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@ While you are still connected to the VM, execute the following command to start

```bash
cd openvscode-server-v$SERVER_VERSION-linux-x64
./server.sh
./bin/openvscode-server --host 0.0.0.0
```

**Note**: If you cancel the script, the OpenVSCode Server will stop.

Copy the token part of the link as we'll need it in the next step.

Next up, you are going to access the shiny new OpenVSCode Server in your browser.

## Access OpenVSCode Server in your browser
Expand All @@ -82,7 +84,7 @@ With the server still running, open a new Cloud Shell tab and execute the follow
```bash
export SERVER_IP=$(gcloud compute instances describe openvscode-server \
--format='get(networkInterfaces[0].accessConfigs[0].natIP)')
echo "http://$SERVER_IP:3000"
echo "http://$SERVER_IP:3000/?tkn=YOUR-TOKEN-HERE"
```

Click the URL displayed in the terminal to see OpenVSCode Server up and running.
Use the URL displayed in the terminal with your token to see OpenVSCode Server up and running.