X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FDownload-and-Installation.md;h=970144a5fe8f57d429a25db40a0fc102d2a2ea69;hb=96b12e55f07e75aff6645d2acdab070e765df2f4;hp=77af25eb0ae7a951700c4d2c936c8e2f9d4dadba;hpb=adcdac1dec45090e2fa1cd4a340e91a40c7a205f;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Download-and-Installation.md b/doc/Download-and-Installation.md index 77af25eb..970144a5 100644 --- a/doc/Download-and-Installation.md +++ b/doc/Download-and-Installation.md @@ -8,26 +8,31 @@ Several releases are available: -------------------------------------------------------- ## Latest release (recommended) - +### Download as an archive Get the latest released version from the [releases](https://github.com/shaarli/Shaarli/releases) page.[](.html) -The current latest released version is `v0.7.0`. +**Download our *shaarli-full* archive** to include dependencies. -### Download as an archive +The current latest released version is `v0.8.4` -As a .zip archive: +Or in command lines: ```bash -$ wget https://github.com/shaarli/Shaarli/archive/v0.7.0.zip -$ unzip Shaarli-v0.7.0.zip -$ mv Shaarli-v0.7.0 /path/to/shaarli/ +$ wget https://github.com/shaarli/Shaarli/releases/download/v0.8.4/shaarli-v0.8.4-full.zip +$ unzip shaarli-v0.8.4-full.zip +$ mv Shaarli /path/to/shaarli/ ``` - | ! |In most cases, download Shaarli from the [releases](https://github.com/shaarli/Shaarli/releases) page. Cloning using `git` or downloading Github branches as zip files requires additional steps (see below).|[](.html) |-----|--------------------------| +### Using git +``` +mkdir -p /path/to/shaarli && cd /path/to/shaarli/ +git clone -b v0.8 https://github.com/shaarli/Shaarli.git . +composer install --no-dev +``` -------------------------------------------------------- @@ -61,7 +66,7 @@ $ mv Shaarli-stable /path/to/shaarli/ $ git clone https://github.com/shaarli/Shaarli.git -b stable /path/to/shaarli/ # install/update third-party dependencies $ cd /path/to/shaarli/ -$ composer update --no-dev +$ composer install --no-dev ``` -------------------------------------------------------- @@ -74,10 +79,10 @@ To get the latest changes from the `master` branch: ```bash # clone the repository -$ git clone https://github.com/shaarli/Shaarli.git master /path/to/shaarli/ +$ git clone https://github.com/shaarli/Shaarli.git -b master /path/to/shaarli/ # install/update third-party dependencies $ cd /path/to/shaarli -$ composer update --no-dev +$ composer install --no-dev ``` --------------------------------------------------------