MyShaarli/doc/md/Download-and-Installation.md
2017-12-09 15:28:34 +01:00

3.4 KiB

To install Shaarli, simply place the files in a directory under your webserver's Document Root (or directly at the document root).

Also, please make sure your server meets the requirements and is properly configured.

Multiple releases branches are available:

  • latest (last release)
  • stable (previous major release)
  • master (development)

Using one of the following methods:

  • by downloading full release archives including all dependencies
  • by downloading Github archives
  • by cloning the Git repository
  • using Docker: see the documentation

Download as an archive

In most cases, you should download the latest Shaarli release from the releases page. Download our shaarli-full archive to include dependencies.

The current latest released version is v0.9.1

$ wget https://github.com/shaarli/Shaarli/releases/download/v0.9.1/shaarli-v0.9.1-full.zip
$ unzip shaarli-v0.9.1-full.zip
$ mv Shaarli /path/to/shaarli/

Using git

Cloning using git or downloading Github branches as zip files requires additional steps:

$ mkdir -p /path/to/shaarli && cd /path/to/shaarli/
$ git clone -b latest https://github.com/shaarli/Shaarli.git .
$ composer install --no-dev --prefer-dist
$ make translate
$ make htmldoc

Stable version

The stable version has been experienced by Shaarli users, and will receive security updates.

Download as an archive

As a .zip archive:

$ wget https://github.com/shaarli/Shaarli/archive/stable.zip
$ unzip stable.zip
$ mv Shaarli-stable /path/to/shaarli/

As a .tar.gz archive :

$ wget https://github.com/shaarli/Shaarli/archive/stable.tar.gz
$ tar xvf stable.tar.gz
$ mv Shaarli-stable /path/to/shaarli/

Using git

Install Composer to manage Shaarli dependencies.

$ git clone https://github.com/shaarli/Shaarli.git -b stable /path/to/shaarli/
# install/update third-party dependencies
$ cd /path/to/shaarli/
$ composer install --no-dev --prefer-dist

Development version (mainline)

Use at your own risk!

Install Composer to manage Shaarli dependencies.

To get the latest changes from the master branch:

# clone the repository  
$ git clone https://github.com/shaarli/Shaarli.git -b master /path/to/shaarli/
# install/update third-party dependencies
$ cd /path/to/shaarli
$ composer install --no-dev --prefer-dist
$ make translate
$ make htmldoc

Finish Installation

Once Shaarli is downloaded and files have been placed at the correct location, open it this location your favorite browser.

install screenshot

Setup your Shaarli installation, and it's ready to use!

Updating Shaarli

See Upgrade and Migration