diff --git a/quick-start/demo-node.md b/quick-start/demo-node.md index edc08530d0..5f0dcbc5b0 100644 --- a/quick-start/demo-node.md +++ b/quick-start/demo-node.md @@ -10,7 +10,8 @@ Login, LoginCommand, DockerCommand, PreviewUrl, -ExternalIp +ExternalIp, +CheckDockerCommand } from '../../../../../src/components/Docs/Telepresence'; import Alert from '@material-ui/lab/Alert'; import QSCards from './qs-cards'; @@ -33,7 +34,11 @@ import { UserInterceptCommand } from '../../../../../src/components/Docs/Telepre In this guide, we'll give you a hands-on tutorial with Telepresence. To go through this tutorial, the only thing you'll need is a computer that runs Docker Desktop >=20.10.7. We'll give you a pre-configured remote Kubernetes cluster and a Docker container to run locally. -If you don't have Docker Desktop already installed, go to the [Docker download page](https://www.docker.com/get-started) and install Docker. +If you don't have Docker Desktop already installed, go to the [Docker download page](https://www.docker.com/get-started) and install Docker. + +If you have Docker Desktop already installed, make sure it is running with the following command: + + While Telepresence works with any language, this guide uses a sample app written in Node.js and Golang. We have a version in React if you prefer. @@ -72,6 +77,10 @@ We'll set up a development environment locally on your workstation. We'll then u + + Make sure that your ports: 8080 and 8083 are open, that they are not being used by another service. + + 2. The Docker container includes a copy of the Emojivoto application that fixes the bug. Visit the [leaderboard](http://localhost:8083/leaderboard) and notice how it is different from the leaderboard in your Kubernetes cluster. 3. Vote for 🍩 on your local leaderboard, and you can see that the bug is fixed! @@ -90,7 +99,11 @@ A common use case for Telepresence is to connect your local development environm 2. Create an intercept, which will tell Telepresence to send traffic to the service in our container instead of the service in the cluster: `telepresence intercept web --port 8080` - When prompted for ingress configuration, all default values should be correct as displayed below. + When prompted for ingress configuration, all default values should be correct as displayed below. + + + + If the intecept is successful, it will show the following: