]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - docs/en/user/installation.rst
Add documentation
[github/wallabag/wallabag.git] / docs / en / user / installation.rst
index fe55b8040dbbac3b8bfb813d560a70a0c4d7ecba..28da67b7e15f0ab968af4a2200473afffeebf906 100644 (file)
@@ -4,7 +4,7 @@ Install wallabag
 Requirements
 ------------
 
-wallabag is compatible with php >= 5.5
+wallabag is compatible with php >= 5.5, including php 7.
 
 You'll need the following extensions for wallabag to work. Some of these may already activated in your version of php, so you may not have to install all corresponding packages.
 
@@ -48,12 +48,11 @@ To install wallabag itself, you must run these two commands:
 
 ::
 
-    git clone git@github.com:wallabag/wallabag.git
+    git clone https://github.com/wallabag/wallabag.git
     cd wallabag
     git checkout 2.0.0-beta.2
-    SYMFONY_ENV=prod composer install --no-dev
+    SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
     php bin/console wallabag:install --env=prod
-    php bin/console server:run --env=prod
 
 To start php's build-in server and test if everything did install correctly, you can do:
 
@@ -63,6 +62,11 @@ To start php's build-in server and test if everything did install correctly, you
 
 And access wallabag at http://yourserverip:8000
 
+.. note::
+
+    To define parameters with environment variables, you have to set these variables with ``SYMFONY__`` prefix. For example, ``SYMFONY__DATABASE_DRIVER``. You can have a look to the  `Symfony documentation
+<http://symfony.com/doc/current/cookbook/configuration/external_parameters.html>`__.
+
 Installing on Apache
 --------------------