Skip to content

Commit a6ff92b

Browse files
committed
Updates for git pull installations
1 parent 5530c38 commit a6ff92b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

source/en/self-host-installation.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,14 @@ If you are using shared hosting, then you will need to add an additional paramet
192192
For power users installing the app from Github can be done with the following two steps
193193
194194
```bash
195-
git clone -b v5-stable --single-branch https://github.com/invoiceninja/invoiceninja.git
195+
git clone --depth 1 -b v5.11.53 https://github.com/invoiceninja/invoiceninja.git
196196

197197
composer create-project --no-dev
198198
```
199199
200+
**Note** replace v5.11.53 with the latest tag version, you will also want to ensure that when performing updates, you use the latest tag version rather than a particular branch, ie v5-develop. This will ensure that you are not pulling in work in progress code.
201+
202+
200203
*Be aware, at the time of writing the react frontend is not included by default if you clone this repository. Refer to the configured Github workflow for additional information.*
201204
202205
### Final setup steps

source/en/self-host.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,14 @@ Ensure you set the scheduler under the web server user i.e. `sudo -u www-data cr
158158
<p>For power users installing the app from Github can be done with the following two steps</p>
159159
160160
```bash
161-
git clone -b v5-stable --single-branch https://github.com/invoiceninja/invoiceninja.git
161+
git clone --depth 1 -b v5.11.53 https://github.com/invoiceninja/invoiceninja.git
162162

163163
composer create-project --no-dev
164164
```
165165
166+
**Note** replace v5.11.53 with the latest tag version, you will also want to ensure that when performing updates, you use the latest tag version rather than a particular branch, ie v5-develop. This will ensure that you are not pulling in work in progress code.
167+
168+
166169
### Final setup steps
167170
168171
<p>Once you have configured your virtual host, copy the same .env file </p>

0 commit comments

Comments
 (0)