From c4bdc05d8c778484169afebc92c72127747285b4 Mon Sep 17 00:00:00 2001 From: "G. Allegri" Date: Mon, 5 Feb 2024 11:19:44 +0100 Subject: [PATCH] Clarify branch checkout for project --- install/advanced/project/index.rst | 18 ++++++++++++++++-- install/basic/index.rst | 6 +++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/install/advanced/project/index.rst b/install/advanced/project/index.rst index d9fbd768..94fde950 100644 --- a/install/advanced/project/index.rst +++ b/install/advanced/project/index.rst @@ -125,7 +125,14 @@ Clone the source code .. code-block:: shell cd /opt/geonode_custom/ - git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x + git clone https://github.com/GeoNode/geonode-project.git + +This will clone the ``master`` branch. You will have to checkout the desidered branch or tag. +As an example, if you want to generate a propject for GeoNode 4.2.2 you will docker + +.. code-block:: shell + + git checkout -b 4.2.2 Make an instance out of the ``Django Template`` @@ -360,7 +367,14 @@ Clone the source code .. code-block:: shell cd /opt/geonode_custom/ - git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x + git clone https://github.com/GeoNode/geonode-project.git + +This will clone the ``master`` branch. You will have to checkout the desidered branch or tag. +As an example, if you want to generate a propject for GeoNode 4.2.2 you will docker + +.. code-block:: shell + + git checkout -b 4.2.2 Make an instance out of the ``Django Template`` diff --git a/install/basic/index.rst b/install/basic/index.rst index b0116185..d24c8e1b 100644 --- a/install/basic/index.rst +++ b/install/basic/index.rst @@ -56,7 +56,11 @@ Let's say your project is named :guilabel:`my_geonode` perform the following ste .. code-block:: shell - git clone https://github.com/GeoNode/geonode-project.git -b 4.1.x + git clone https://github.com/GeoNode/geonode-project.git + + # Checkout the desired branch. For example, 4.2.2 to generate a project for GeoNode 4.2.2 + + git checkout -b 4.2.2 # Ubuntu source /usr/share/virtualenvwrapper/virtualenvwrapper.sh