File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,14 @@ Clone the source code
125125.. code-block :: shell
126126
127127 cd /opt/geonode_custom/
128- git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x
128+ git clone https://github.com/GeoNode/geonode-project.git
129+
130+ This will clone the ``master `` branch. You will have to checkout the desidered branch or tag.
131+ As an example, if you want to generate a propject for GeoNode 4.2.2 you will docker
132+
133+ .. code-block :: shell
134+
135+ git checkout -b 4.2.2
129136
130137 Make an instance out of the ``Django Template ``
131138
@@ -360,7 +367,14 @@ Clone the source code
360367.. code-block :: shell
361368
362369 cd /opt/geonode_custom/
363- git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x
370+ git clone https://github.com/GeoNode/geonode-project.git
371+
372+ This will clone the ``master `` branch. You will have to checkout the desidered branch or tag.
373+ As an example, if you want to generate a propject for GeoNode 4.2.2 you will docker
374+
375+ .. code-block :: shell
376+
377+ git checkout -b 4.2.2
364378
365379 Make an instance out of the ``Django Template ``
366380
Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ Let's say your project is named :guilabel:`my_geonode` perform the following ste
5656
5757.. code-block :: shell
5858
59- git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x
59+ git clone https://github.com/GeoNode/geonode-project.git
60+
61+ # Checkout the desired branch. For example, 4.2.2 to generate a project for GeoNode 4.2.2
62+
63+ git checkout -b 4.2.2
6064
6165 # Ubuntu
6266 source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
You can’t perform that action at this time.
0 commit comments