summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2019-10-29 18:10:44 +1100
committerDaniel Axtens <dja@axtens.net>2019-11-07 00:38:32 +1100
commitf6f297e74a5a05c7f0042e773b4792c470e3c19c (patch)
treee01d4b3dd165d381f863f7b9004d259cb348696d /README.rst
parentb7614e50f3c1943f1956fd45d8b93878fe511bda (diff)
downloadpatchwork-f6f297e74a5a05c7f0042e773b4792c470e3c19c.tar
patchwork-f6f297e74a5a05c7f0042e773b4792c470e3c19c.tar.gz
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 <stephen@that.guru> Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 495cc2b..2bf4d93 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