]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
README: fix .env
authorDaniel Axtens <dja@axtens.net>
Tue, 29 Oct 2019 07:10:44 +0000 (18:10 +1100)
committerDaniel Axtens <dja@axtens.net>
Wed, 6 Nov 2019 13:38:32 +0000 (00:38 +1100)
The .env setup didn't do GID. It's a bit of a chore to do because
there doesn't seem to be a GID shell variable and because we need
to do a bit more work to get a multi-line thing, but this should
work.

While we're at it, change the docker-compose info, it's hopelessly
out of date.

Reviewed-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
README.rst

index 495cc2bd78621a71b220feaeaaedf5e81fdb3f16..2bf4d93fd9a02b28ccb858fee4c8f3637a6d2c86 100644 (file)
@@ -58,11 +58,12 @@ environment. To install Patchwork:
        $ git clone https://github.com/getpatchwork/patchwork.git
 
 3. Create a ``.env`` file in the root directory of the project and store your
-   ``UID`` attribute there::
+   ``UID`` and ``GID`` attributes there::
 
-       $ cd patchwork && echo "UID=$UID" > .env
+       $ cd patchwork && printf "UID=$(id -u)\nGID=$(id -g)\n" > .env
 
-4. Build the images. This will download over 200MB from the internet::
+4. Build the images. This will download a number of packages from the internet,
+   and compile several versions of Python::
 
        $ docker-compose build