[PATCH 1/3] README: fix .env
Daniel Axtens
dja at axtens.net
Tue Oct 29 18:26:14 AEDT 2019
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.
Signed-off-by: Daniel Axtens <dja at axtens.net>
---
README.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.rst b/README.rst
index f5fc1d1aba76..6cc74d4cc043 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.20.1
More information about the Patchwork
mailing list