Skip to content

Commit c4bdc05

Browse files
committed
Clarify branch checkout for project
1 parent 1743e09 commit c4bdc05

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

install/advanced/project/index.rst

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff 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

install/basic/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)