X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Fen%2Fdeveloper%2Fdocker.rst;h=5e4f2ce6bda0326e2ff0c4ae306f199b3480c046;hb=d83d25dadec2c38460a32d96f5d2903426fec9d3;hp=9ed9dde2f4c3651091566af289545abbb07fa0e8;hpb=0aafb8dfcb098ae586dc87f3487b4948f8ae2314;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/en/developer/docker.rst b/docs/en/developer/docker.rst index 9ed9dde2..5e4f2ce6 100644 --- a/docs/en/developer/docker.rst +++ b/docs/en/developer/docker.rst @@ -1,4 +1,4 @@ -Run Wallabag in docker-compose +Run wallabag in docker-compose ============================== In order to run your own development instance of wallabag, you may @@ -15,11 +15,11 @@ your system and up to date. Switch DBMS ----------- -By default, Wallabag will start with a sqlite database. -Since Wallabag provide support for Postgresql and MySQL, docker +By default, wallabag will start with a SQLite database. +Since wallabag provides support for Postgresql and MySQL, docker containers are also available for these ones. -In ``docker-compose.yml``, for the chosen DBMS uncomment : +In ``docker-compose.yml``, for the chosen DBMS uncomment: - the container definition (``postgres`` or ``mariadb`` root level block) @@ -27,20 +27,20 @@ In ``docker-compose.yml``, for the chosen DBMS uncomment : - the container env file in the ``php`` container In order to keep running Symfony commands on your host (such as -``wallabag:install``), you also should : +``wallabag:install``), you also should: - source the proper env files on your command line, so variables like ``SYMFONY__ENV__DATABASE_HOST`` will exist. - create a ``127.0.0.1 rdbms`` on your system ``hosts`` file -Run Wallabag +Run wallabag ------------ #. Fork and clone the project #. Edit ``app/config/parameters.yml`` to replace ``database_*`` properties with commented ones (with values prefixed by ``env.``) #. ``composer install`` the project dependencies -#. ``php app/console wallabag:install`` to create the schema +#. ``php bin/console wallabag:install`` to create the schema #. ``docker-compose up`` to run the containers #. Finally, browse to http://localhost:8080/ to find your freshly installed wallabag.