Skip to content

Commit

Permalink
Clarify branch checkout for project
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Feb 5, 2024
1 parent 1743e09 commit c4bdc05
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 16 additions & 2 deletions install/advanced/project/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``

Expand Down Expand Up @@ -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``

Expand Down
6 changes: 5 additions & 1 deletion install/basic/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4bdc05

Please sign in to comment.