Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
→‎File:Gnu.png With Dolibarr (standard .zip package or from git): add --depth to git clone command + explanation
Tag: 2017 source edit
(→‎File:Gnu.png With Dolibarr (standard .zip package or from git): add --depth to git clone command + explanation)
Tag: 2017 source edit
Line 143: Line 143:
'''or from git repository'''
'''or from git repository'''
<source lang="bash">
<source lang="bash">
$ git clone -b X.Y http://github.com/Dolibarr/dolibarr.git dolibarr
$ git clone --depth 1 -b X.Y http://github.com/Dolibarr/dolibarr.git dolibarr
</source>
</source>
Replace X.Y with the version you want to get.
Replace X.Y with the version you want to get. Remove "--depth 1" if you don't mind downloading the entire history of the project (programmers may find it useful but end users probably won't).


*Rename directory dolibarr-x.y.z into dolibarr to have a directory name that does not depends on version (replace x.y.z with source version)
*Rename directory dolibarr-x.y.z into dolibarr to have a directory name that does not depends on version (replace x.y.z with source version)

Navigation menu