]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: set the GID in the .env file
authorPranav Annam <pranavannam@gmail.com>
Wed, 12 Feb 2020 03:36:14 +0000 (04:36 +0100)
committerDaniel Axtens <dja@axtens.net>
Mon, 17 Feb 2020 11:59:57 +0000 (22:59 +1100)
The .env file needs the UID and GID for a working docker-compose build.

If you follow the current instructions, the docker build fails with a
clear error message: 'You must define GID in .env'

It is still good to update documentation to reduce the burden on new
contributors to run into this build failure first.

Signed-off-by: Pranav Annam <pranavannam@gmail.com>
[simply provide bash command in docs, reworked commit message]
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
docs/development/installation.rst

index 03ad67a56140c623abf411349c4ecbda078cd977..0a6e71c6a2e39073d321c571f67c30dd7ad9d0a4 100644 (file)
@@ -25,11 +25,12 @@ configure Patchwork using Docker:
 #. Install `docker`_ and `docker-compose`_.
 
 #. Create a ``.env`` file in the root directory of the project and store your
-   ``UID`` attribute there.
+   ``UID`` and ``GID`` attribute there.
 
    .. code-block:: shell
 
       $ echo "UID=$UID" > .env
+      $ echo "GID=`id -g`" >> .env
 
 #. Build the images. This will download over 200MB from the internet: