]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - doc/md/Download-and-Installation.md
documentation: update release download and usage information
[github/shaarli/Shaarli.git] / doc / md / Download-and-Installation.md
CommitLineData
43ad7c8e
V
1To install Shaarli, simply place the files in a directory under your webserver's
2Document Root (or directly at the document root).
3
4Also, please make sure your server meets the [requirements](Server-requirements)
5and is properly [configured](Server-configuration).
fdf88d19
A
6
7Several releases are available:
8
43ad7c8e
V
9- by downloading full release archives including all dependencies
10- by downloading Github archives
11- by cloning the Git repository
12
13---
fdf88d19
A
14
15## Latest release (recommended)
3cc8c898 16### Download as an archive
53ed6d7d 17Get the latest released version from the [releases](https://github.com/shaarli/Shaarli/releases) page.
fdf88d19 18
3cc8c898 19**Download our *shaarli-full* archive** to include dependencies.
fdf88d19 20
7f876cf6 21The current latest released version is `v0.9.0`
fdf88d19 22
3cc8c898 23Or in command lines:
fdf88d19
A
24
25```bash
7f876cf6
V
26$ wget https://github.com/shaarli/Shaarli/releases/download/v0.9.0/shaarli-v0.9.0-full.zip
27$ unzip shaarli-v0.9.0-full.zip
3cc8c898 28$ mv Shaarli /path/to/shaarli/
fdf88d19
A
29```
30
43ad7c8e 31In 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).|
fdf88d19 32
3cc8c898 33### Using git
fdf88d19 34
3cc8c898 35```
43ad7c8e 36$ mkdir -p /path/to/shaarli && cd /path/to/shaarli/
7f876cf6 37$ git clone -b v0.9 https://github.com/shaarli/Shaarli.git .
43ad7c8e 38$ composer install --no-dev --prefer-dist
3cc8c898 39```
fdf88d19 40
fdf88d19
A
41## Stable version
42
43The stable version has been experienced by Shaarli users, and will receive security updates.
44
45### Download as an archive
46
47As a .zip archive:
48
49```bash
50$ wget https://github.com/shaarli/Shaarli/archive/stable.zip
51$ unzip stable.zip
52$ mv Shaarli-stable /path/to/shaarli/
53```
54
55As a .tar.gz archive :
56
57```bash
58$ wget https://github.com/shaarli/Shaarli/archive/stable.tar.gz
59$ tar xvf stable.tar.gz
60$ mv Shaarli-stable /path/to/shaarli/
61```
62
63### Clone with Git
64
53ed6d7d 65[Composer](https://getcomposer.org/) is required to build a functional Shaarli installation when pulling from git.
fdf88d19
A
66
67```bash
68$ git clone https://github.com/shaarli/Shaarli.git -b stable /path/to/shaarli/
69# install/update third-party dependencies
70$ cd /path/to/shaarli/
43ad7c8e 71$ composer install --no-dev --prefer-dist
fdf88d19
A
72```
73
fdf88d19
A
74## Development version (mainline)
75
76_Use at your own risk!_
77
78To get the latest changes from the `master` branch:
79
80```bash
81# clone the repository
b230bf20 82$ git clone https://github.com/shaarli/Shaarli.git -b master /path/to/shaarli/
fdf88d19
A
83# install/update third-party dependencies
84$ cd /path/to/shaarli
43ad7c8e 85$ composer install --no-dev --prefer-dist
fdf88d19
A
86```
87
fdf88d19
A
88## Finish Installation
89
90Once Shaarli is downloaded and files have been placed at the correct location, open it this location your favorite browser.
91
53ed6d7d 92![install screenshot](http://i.imgur.com/wuMpDSN.png)
fdf88d19
A
93
94Setup your Shaarli installation, and it's ready to use!
95
fdf88d19
A
96## Updating Shaarli
97
53ed6d7d 98See [Upgrade and Migration](Upgrade-and-migration)