From 9f4fe92cdb5fecf6b7928b41dbbb81a07d143565 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Sun, 28 Apr 2019 14:41:10 +0200 Subject: [PATCH 1/7] Update README.md --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 16e362d..e80484b 100644 --- a/README.md +++ b/README.md @@ -11,23 +11,23 @@ One you have this sample opened in a container, you'll be able to work with it l Some things to try: 1. **Edit:** - 1. Open `server.js` - 2. Try adding some code and check out the language features. + - Open `server.js` + - Try adding some code and check out the language features. 2. **Terminal:** Press Ctrl+Shift+\` and type `uname` and other Linux commands from the terminal window. 3. **Build, Run, and Debug:** - 1. Open `server.js` - 2. Add a breakpoint (e.g. on line 20). - 3. Press F5 to launch the app in the container. - 4. Once the breakpoint is hit, try hovering over variables, examining locals, and more. - 5. Continue, then open a local browser and go to `http://localhost:3000` and note you can connect to the server in the container. + - Open `server.js` + - Add a breakpoint (e.g. on line 20). + - Press F5 to launch the app in the container. + - Once the breakpoint is hit, try hovering over variables, examining locals, and more. + - Continue, then open a local browser and go to `http://localhost:3000` and note you can connect to the server in the container. 4. **Forward another port:** - 1. Stop debugging and remove the breakpoint. - 2. Open `server.js` - 3. Change the server port to 5000. (`const PORT = 5000;`) - 4. Press F5 to launch the app in the container. - 5. Press F1 and run the **Remote-Containers: Forward Port...** command. - 6. Select port 5000. - 7. Click "Open Browser" in the notification that appears to access the web app on this new port. + - Stop debugging and remove the breakpoint. + - Open `server.js` + - Change the server port to 5000. (`const PORT = 5000;`) + - Press F5 to launch the app in the container. + - Press F1 and run the **Remote-Containers: Forward Port...** command. + - Select port 5000. + - Click "Open Browser" in the notification that appears to access the web app on this new port. ## Setting up the development container @@ -36,9 +36,9 @@ Follow these steps to open this sample in a container: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started). 2. If you're not yet in a development container: - 1. Clone this repository. - 2. Press F1 and select the **Remote-Container: Open Folder in Container...** command. - 3. Select the cloned copy of this folder, wait for the container to start, and try things out! + - Clone this repository. + - Press F1 and select the **Remote-Container: Open Folder in Container...** command. + - Select the cloned copy of this folder, wait for the container to start, and try things out! ## Contributing @@ -57,5 +57,5 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio ## License -Copyright © Microsoft Corporation All rights reserved.
+Copyright © Microsoft Corporation All rights reserved.
Licensed under the MIT License. See LICENSE in the project root for license information. From 39453b827f7a6a0641fa1657ca625581596ecee7 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Sun, 28 Apr 2019 14:44:52 +0200 Subject: [PATCH 2/7] Made the sentence that guides to setup independent of the quick start --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e80484b..67fd9a2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is a sample project to go along with the "Try a dev container" quick start for the **[VS Code Remote - Containers](https://aka.ms/vscode-remote/containers)** extension. -**If you aren't already following the quick start, [see below](#setting-up-the-development-container).** +**If you are not yet in a development container, [see below](#setting-up-the-development-container).** ## Things to try From ac96566c6b1d55af6829b5c8c6b17c3309bb8212 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Sun, 28 Apr 2019 15:03:45 +0200 Subject: [PATCH 3/7] Mention that eslint is installed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67fd9a2..e2c55c2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Some things to try: 1. **Edit:** - Open `server.js` - - Try adding some code and check out the language features. + - Try adding some code and check out the language features. Notice that `eslint` and the `vscode-eslint` extension are already installed in the container. 2. **Terminal:** Press Ctrl+Shift+\` and type `uname` and other Linux commands from the terminal window. 3. **Build, Run, and Debug:** - Open `server.js` From eb2dc118caf51cea53b12908e664914cb808e311 Mon Sep 17 00:00:00 2001 From: Erich Gamma Date: Sun, 28 Apr 2019 15:05:34 +0200 Subject: [PATCH 4/7] Update the name of the forward port command to the latest --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2c55c2..7cc913a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Some things to try: - Open `server.js` - Change the server port to 5000. (`const PORT = 5000;`) - Press F5 to launch the app in the container. - - Press F1 and run the **Remote-Containers: Forward Port...** command. + - Press F1 and run the **Remote-Containers: Forward Port from Container...** command. - Select port 5000. - Click "Open Browser" in the notification that appears to access the web app on this new port. From 87711bbc206a1698abcda8a5193b1c382c90d0a3 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 1 May 2019 11:48:22 -0700 Subject: [PATCH 5/7] Update README.md --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 7cc913a..cb33df9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,18 @@ This is a sample project to go along with the "Try a dev container" quick start for the **[VS Code Remote - Containers](https://aka.ms/vscode-remote/containers)** extension. -**If you are not yet in a development container, [see below](#setting-up-the-development-container).** +## Setting up the development container + +> **Note:** If you're following the quick start, you can skip this section since you've already followed these steps. + +Follow these steps to open this sample in a container: + +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started). + +2. If you're not yet in a development container: + - Clone this repository. + - Press F1 and select the **Remote-Container: Open Folder in Container...** command. + - Select the cloned copy of this folder, wait for the container to start, and try things out! ## Things to try @@ -29,18 +40,6 @@ Some things to try: - Select port 5000. - Click "Open Browser" in the notification that appears to access the web app on this new port. -## Setting up the development container - -Follow these steps to open this sample in a container: - -1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started). - -2. If you're not yet in a development container: - - Clone this repository. - - Press F1 and select the **Remote-Container: Open Folder in Container...** command. - - Select the cloned copy of this folder, wait for the container to start, and try things out! - - ## Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a From b7569e30e9c4a15ea59448d40d8aa04ebb9dbbdc Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 1 May 2019 11:49:00 -0700 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb33df9..60657df 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a sample project to go along with the "Try a dev container" quick start ## Setting up the development container -> **Note:** If you're following the quick start, you can skip this section since you've already followed these steps. +> **Note:** If you're following the quick start, you can jump to [Things to try](#things-to-try). Follow these steps to open this sample in a container: From 74c626c27e59e2e8fc04263727b2746c075683b0 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 1 May 2019 11:51:35 -0700 Subject: [PATCH 7/7] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60657df..5f1be21 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Try Out Development Containers: Node.js -This is a sample project to go along with the "Try a dev container" quick start for the **[VS Code Remote - Containers](https://aka.ms/vscode-remote/containers)** extension. +This is a sample project that lets you try out the **[VS Code Remote - Containers](https://aka.ms/vscode-remote/containers)** extension in a few easy steps. + +> **Note:** If you're following the quick start, you can jump to the [Things to try](#things-to-try) section. ## Setting up the development container -> **Note:** If you're following the quick start, you can jump to [Things to try](#things-to-try). - Follow these steps to open this sample in a container: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started).