]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - docs/fr/user/installation.rst
manage assets through npm
[github/wallabag/wallabag.git] / docs / fr / user / installation.rst
index 9039d608d1b96306d50edd0e1d9a018d94e3de90..b1136c12b33853c89f1b669135966c0f7f638c15 100644 (file)
@@ -51,7 +51,7 @@ Pour installer wallabag, vous devez exécuter ces deux commandes :
 
     git clone https://github.com/wallabag/wallabag.git
     cd wallabag
-    git checkout 2.0.3
+    git checkout 2.0.5
     SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
     php bin/console wallabag:install --env=prod
 
@@ -189,20 +189,20 @@ Après que vous ayez rechargé/redémarré Nginx, vous devriez pouvoir avoir acc
 
     Si vous voulez importer un fichier important dans wallabag, vous devez ajouter cette ligne dans votre configuration nginx ``client_max_body_size XM; # allows file uploads up to X megabytes``.
 
-Configuration avec LigHTTPd
+Configuration avec lighttpd
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Éditez votre fichier ``lighttpd.conf`` collez-y cette configuration :
+En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wallabag``, voici un fichier de configuration pour wallabag (éditez votre fichier ``lighttpd.conf`` collez-y cette configuration) :
 
 ::
 
     server.modules = (
-    "mod_fastcgi",
-    "mod_access",
-    "mod_alias",
-    "mod_compress",
-    "mod_redirect",
-    "mod_rewrite",
+        "mod_fastcgi",
+        "mod_access",
+        "mod_alias",
+        "mod_compress",
+        "mod_redirect",
+        "mod_rewrite",
     )
     server.document-root = "/var/www/wallabag/web"
     server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
@@ -223,9 +223,8 @@ Configuration avec LigHTTPd
     dir-listing.activate = "disable"
 
     url.rewrite-if-not-file = (
-    "^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
-    "^/([^?]*)" => "/app.php?=$1",
-    "^/wiki$" => "/app.php",
+        "^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
+        "^/([^?]*)" => "/app.php?=$1",
     )
 
 Droits d'accès aux dossiers du projet
@@ -250,3 +249,26 @@ Cela est dû au fait qu'il faut aussi octroyer les mêmes droits d'accès au dos
 .. code-block:: bash
 
    chown -R www-data:www-data /var/www/wallabag/var
+
+Il en est de même pour les dossiers suivants :
+
+* /var/www/wallabag/bin/
+* /var/www/wallabag/app/config/
+* /var/www/wallabag/vendor/
+
+en tapant
+
+.. code-block:: bash
+
+   chown -R www-data:www-data /var/www/wallabag/bin
+   chown -R www-data:www-data /var/www/wallabag/app/config
+   chown -R www-data:www-data /var/www/wallabag/vendor
+
+sinon lors de la mise à jour vous finirez par rencontrer les erreurs suivantes :
+
+
+.. code-block:: bash
+
+    Unable to write to the "bin" directory.
+    file_put_contents(app/config/parameters.yml): failed to open stream: Permission denied
+    file_put_contents(/.../wallabag/vendor/autoload.php): failed to open stream: Permission denied