From f6f297e74a5a05c7f0042e773b4792c470e3c19c Mon Sep 17 00:00:00 2001 From: Daniel Axtens Date: Tue, 29 Oct 2019 18:10:44 +1100 Subject: [PATCH] README: fix .env 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 Signed-off-by: Daniel Axtens --- README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 495cc2bd..2bf4d93f 100644 --- a/README.rst +++ b/README.rst @@ -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 -- 2.47.3