X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Ffr%2Fuser%2Finstallation.rst;h=b1136c12b33853c89f1b669135966c0f7f638c15;hb=5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3;hp=9039d608d1b96306d50edd0e1d9a018d94e3de90;hpb=e546a2d6eb3075b4c13f22cc0957bfc96b8e14d9;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 9039d608..b1136c12 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst @@ -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