"fabpot/php-cs-fixer": "~1.9"
},
"scripts": {
- "build-parameters": [
- "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
- ],
"post-cmd": [
- "@build-parameters",
+ "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"incenteev-parameters": {
- "file": "app/config/parameters.yml",
- "env-map": {
- "mailer_host": "WALLABAG_MAILER_HOST",
- "mailer_user": "WALLABAG_MAILER_USER",
- "mailer_password": "WALLABAG_MAILER_PASSWORD",
- "secret": "WALLABAG_SECRET"
- }
+ "file": "app/config/parameters.yml"
}
},
"autoload": {
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
--------------------
Et accéder wallabag à l'adresse http://lipdevotreserveur:8000
+.. note::
+
+ Pour définir des paramètres via des variables d'environnement, vous pouvez les spécifier avec le préfixe ``SYMFONY__``. Par exemple, ``SYMFONY__DATABASE_DRIVER``. Vous pouvez lire `documentation Symfony
+<http://symfony.com/doc/current/cookbook/configuration/external_parameters.html>`__ pour en savoir plus.
+
Installation avec Apache
------------------------