@@ -37,20 +37,25 @@ to check your version of Node and npm, as well as installation
37
37
instructions, see `downloading and installing Node.js and npm
38
38
<https://docs.npmjs.com/downloading-and-installing-node-js-and-npm>`_.
39
39
40
+ Select the :guilabel:`Clone the Project` tab if you want to build your
41
+ project from a premade dependency file or the :guilabel:`Create the Project`
42
+ tab if you want to create the project dependency file yourself.
43
+
40
44
.. tabs::
41
45
42
46
.. tab:: Clone the Project
43
47
:tabid: clone the project
44
48
45
- First, install Git using `Git's Getting Started Guide
49
+ First, ensure you have Git installed in your development
50
+ environment or otherwise install it using `Git's Getting Started Guide
46
51
<https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>`__.
47
52
48
- Then, in your shell, clone the `js-starter repository
53
+ Then, from your shell, clone the `js-starter repository
49
54
<https://github.com/mongodb-university/js-starter>`__:
50
55
51
56
.. code-block:: bash
52
57
53
- git clone https://github.com/mongodb-university/js-starter.git
58
+ git clone --branch v{+version+} https://github.com/mongodb-university/js-starter.git
54
59
55
60
Next, navigate into the repository:
56
61
@@ -103,7 +108,7 @@ instructions, see `downloading and installing Node.js and npm
103
108
104
109
.. code-block:: bash
105
110
106
- npm install mongodb
111
+ npm install mongodb@{+version+}
107
112
108
113
This command performs the following actions:
109
114
0 commit comments