From 338c12bea0fd5b98bffc88a574672fd03e195bf9 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Tue, 8 Sep 2015 17:50:12 +0200 Subject: [PATCH] Update readme --- README.md | 50 ++++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 27f2f55..4bb218f 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,44 @@ -# Script +# YunoHost installation script -## Prérequis +## Context -Afin de pouvoir récupérer le script install_yunohost, il faut avoir git d'installé sur votre machine. +The scripts in this repository will install [YunoHost](https://yunohost.org/) on a Debian system. -Pour l'installer sur une distribution Debian: +Only Debian 7 (aka wheezy) and 8 (aka jessie) are supported. - # apt-get install git +## Basic usage -ou - - $ sudo apt-get install git - -## Récuperation du script - -Placez vous tout d'abord dans le répertoire /tmp: +Go into a temporary folder, e.g. ```/tmp```: $ cd /tmp -Récupérez le script grâce à git: +Get the install script: - $ git clone https://github.com/YunoHost/install_script.git + $ wget https://raw.githubusercontent.com/YunoHost/install_script/master/install_yunohostv2 -Déplacez vous dans le répertoire Script nouvellement cloné: +Execute the script: - $ cd install_script/ + $ bash install_yunohostv2 -Rendez le script install_yunohost exécutable: +If something goes wrong, you can check the installation logs saved in ```/var/log/yunohost.log``` - $ chmod o+x install_yunohost +## Advanced usage -Exécutez le script: +The script supports a number of positionnal arguments: - $ ./install_yunohostv1 + $ bash install_yunohostv2 -h + Usage : + install_yunohostv2 [-a] [-d ] [-h] -ou + Options : + -a Enable automatic mode. No questions are asked. + This does not perform the post-install step. + -d Choose the distribution to install ('stable', 'testing', 'unstable'). + Defaults to 'stable' + -h Prints this help and exit - $ ./install_yunohostv2 +By specifying ```-a```, the installation will be performed without asking any question. +This is usefull for fully automated headless installation. +You will need to perform the post-installation later. - -Le script va automatiquement lancer l'installation de yunohost sur votre poste ainsi que tous les paquets nécessaires. Répondez simplement aux questions qui vous seront posées. +The ```-d ``` switch is mostly for advanced users who wants to install the bleeding edge versions of YunoHost packages.