diff options
author | Daniel Axtens <dja@axtens.net> | 2019-10-29 18:10:44 +1100 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2019-11-07 00:38:32 +1100 |
commit | f6f297e74a5a05c7f0042e773b4792c470e3c19c (patch) | |
tree | e01d4b3dd165d381f863f7b9004d259cb348696d /README.rst | |
parent | b7614e50f3c1943f1956fd45d8b93878fe511bda (diff) | |
download | patchwork-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.rst | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |