From 4afdc0be20c6e858079c2716490d83ff3491fa14 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Thu, 27 Jan 2022 18:04:23 -0500 Subject: [PATCH 1/3] Specify driver version in quick start --- source/quick-start.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/quick-start.txt b/source/quick-start.txt index a3472b14d..cf51cfd1d 100644 --- a/source/quick-start.txt +++ b/source/quick-start.txt @@ -37,20 +37,25 @@ to check your version of Node and npm, as well as installation instructions, see `downloading and installing Node.js and npm `_. +Select the :guilabel:`Clone the Project` tab if you want to build your +project from a premade dependency file or the :guilabel:`Create the Project` +tab if you want to create the project dependency file yourself. + .. tabs:: .. tab:: Clone the Project :tabid: clone the project - First, install Git using `Git's Getting Started Guide + First, ensure you have ``git`` installed in your development + environment or otherwise install Git using `Git's Getting Started Guide `__. - Then, in your shell, clone the `js-starter repository + Then, from your shell, clone the `js-starter repository `__: .. code-block:: bash - git clone https://github.com/mongodb-university/js-starter.git + git clone --branch {+version+} https://github.com/mongodb-university/js-starter.git Next, navigate into the repository: @@ -103,7 +108,7 @@ instructions, see `downloading and installing Node.js and npm .. code-block:: bash - npm install mongodb + npm install mongodb@v{+version+} This command performs the following actions: From ac188c625fd0b0529478f65381b74bb0175a5a35 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Thu, 27 Jan 2022 18:10:56 -0500 Subject: [PATCH 2/3] reverse --- source/quick-start.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/quick-start.txt b/source/quick-start.txt index cf51cfd1d..a0a8cb2ea 100644 --- a/source/quick-start.txt +++ b/source/quick-start.txt @@ -55,7 +55,7 @@ tab if you want to create the project dependency file yourself. .. code-block:: bash - git clone --branch {+version+} https://github.com/mongodb-university/js-starter.git + git clone --branch v{+version+} https://github.com/mongodb-university/js-starter.git Next, navigate into the repository: @@ -108,7 +108,7 @@ tab if you want to create the project dependency file yourself. .. code-block:: bash - npm install mongodb@v{+version+} + npm install mongodb@{+version+} This command performs the following actions: From 53a14541e6edaafd0e54c7a99778c74695f193bd Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Mon, 31 Jan 2022 10:20:44 -0500 Subject: [PATCH 3/3] PR review fixes --- source/quick-start.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/quick-start.txt b/source/quick-start.txt index a0a8cb2ea..5e3832693 100644 --- a/source/quick-start.txt +++ b/source/quick-start.txt @@ -46,8 +46,8 @@ tab if you want to create the project dependency file yourself. .. tab:: Clone the Project :tabid: clone the project - First, ensure you have ``git`` installed in your development - environment or otherwise install Git using `Git's Getting Started Guide + First, ensure you have Git installed in your development + environment or otherwise install it using `Git's Getting Started Guide `__. Then, from your shell, clone the `js-starter repository