diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-17 11:57:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 11:57:28 +0200 |
commit | e893e33e9b3720436d34f7e6235f7d52e4c8d7d0 (patch) | |
tree | e9b900edfa1ca5364820e2b326f77fb689ec6710 /docs/en/developer/docker.rst | |
parent | d168fff7a9aedb19db05a95a3264e548748126c1 (diff) | |
parent | 322c270b6590d0d0bf5025f4782ffe7cdea0f8b0 (diff) | |
download | wallabag-e893e33e9b3720436d34f7e6235f7d52e4c8d7d0.tar.gz wallabag-e893e33e9b3720436d34f7e6235f7d52e4c8d7d0.tar.zst wallabag-e893e33e9b3720436d34f7e6235f7d52e4c8d7d0.zip |
Merge pull request #3122 from wallabag/delete-doc
Removed embedded documentation
Diffstat (limited to 'docs/en/developer/docker.rst')
-rw-r--r-- | docs/en/developer/docker.rst | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/docs/en/developer/docker.rst b/docs/en/developer/docker.rst deleted file mode 100644 index 5e4f2ce6..00000000 --- a/docs/en/developer/docker.rst +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | Run wallabag in docker-compose | ||
2 | ============================== | ||
3 | |||
4 | In order to run your own development instance of wallabag, you may | ||
5 | want to use the pre-configured docker compose files. | ||
6 | |||
7 | Requirements | ||
8 | ------------ | ||
9 | |||
10 | Make sure to have `Docker | ||
11 | <https://docs.docker.com/installation/ubuntulinux/>`__ and `Docker | ||
12 | Compose <https://docs.docker.com/compose/install/>`__ availables on | ||
13 | your system and up to date. | ||
14 | |||
15 | Switch DBMS | ||
16 | ----------- | ||
17 | |||
18 | By default, wallabag will start with a SQLite database. | ||
19 | Since wallabag provides support for Postgresql and MySQL, docker | ||
20 | containers are also available for these ones. | ||
21 | |||
22 | In ``docker-compose.yml``, for the chosen DBMS uncomment: | ||
23 | |||
24 | - the container definition (``postgres`` or ``mariadb`` root level | ||
25 | block) | ||
26 | - the container link in the ``php`` container | ||
27 | - the container env file in the ``php`` container | ||
28 | |||
29 | In order to keep running Symfony commands on your host (such as | ||
30 | ``wallabag:install``), you also should: | ||
31 | |||
32 | - source the proper env files on your command line, so variables | ||
33 | like ``SYMFONY__ENV__DATABASE_HOST`` will exist. | ||
34 | - create a ``127.0.0.1 rdbms`` on your system ``hosts`` file | ||
35 | |||
36 | Run wallabag | ||
37 | ------------ | ||
38 | |||
39 | #. Fork and clone the project | ||
40 | #. Edit ``app/config/parameters.yml`` to replace ``database_*`` | ||
41 | properties with commented ones (with values prefixed by ``env.``) | ||
42 | #. ``composer install`` the project dependencies | ||
43 | #. ``php bin/console wallabag:install`` to create the schema | ||
44 | #. ``docker-compose up`` to run the containers | ||
45 | #. Finally, browse to http://localhost:8080/ to find your freshly | ||
46 | installed wallabag. | ||
47 | |||
48 | At various step, you'll probably run into UNIX permission problems, | ||
49 | bad paths in generated cache, etc… | ||
50 | Operations like removing cache files or changing files owners might | ||
51 | be frequently required, so don't be afraid ! | ||