From 1b363a7884ef7daadc313063a26ff3d32e38a5ce Mon Sep 17 00:00:00 2001 From: Russell Currey Date: Wed, 1 May 2019 13:16:43 +1000 Subject: [PATCH] README: add .env file to installation instructions Creating the .env file is mentioned in the installation documentation but not in the README, so following only the steps mentioned there will fail. Add this and add a `cd patchwork` in there for good measure so you could straight up copy paste the steps. Signed-off-by: Russell Currey Reviewed-by: Andrew Donnellan Signed-off-by: Daniel Axtens --- README.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 38c18473..b45c3e6a 100644 --- a/README.rst +++ b/README.rst @@ -61,11 +61,16 @@ environment. To install Patchwork: $ git clone https://github.com/getpatchwork/patchwork.git -3. Build the images. This will download over 200MB from the internet:: +3. Create a ``.env`` file in the root directory of the project and store your + ``UID`` attribute there:: + + $ cd patchwork && echo "UID=$UID" > .env + +4. Build the images. This will download over 200MB from the internet:: $ docker-compose build -4. Run `docker-compose up`:: +5. Run `docker-compose up`:: $ docker-compose up -- 2.47.3