From 4979efd6375f1106050897a3bcf4263f58315b75 Mon Sep 17 00:00:00 2001 From: reka169 Date: Fri, 23 Aug 2019 08:52:18 +0200 Subject: [PATCH 1/3] README / Bigger projects: added note about changing the static path --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 65f13c64..8e719a78 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,12 @@ Your file structure would look like: └── Dockerfile ``` +In the Dockerfile, add the following line to change the static path from the default `/app/static` to `/app/app/static`: + +``` +ENV STATIC_PATH /app/app/static +``` + ...after that, everything should work as expected. All the other instructions would apply normally. ### Working with submodules From c840e1cb39c58cdd296d55bc66360e17e81e066a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 6 Apr 2020 16:50:31 +0200 Subject: [PATCH 2/3] :memo: Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e719a78..46350d1d 100644 --- a/README.md +++ b/README.md @@ -321,9 +321,9 @@ Your file structure would look like: └── Dockerfile ``` -In the Dockerfile, add the following line to change the static path from the default `/app/static` to `/app/app/static`: +If you are using static files in the same container, make sure the `STATIC_PATH` environment variable is set accordingly, for example to change the default value of `/app/static` to `/app/app/static` you could add this line to your `Dockerfile`: -``` +```Dockerfile ENV STATIC_PATH /app/app/static ``` From bdd7a2ef08cf9c13f7b37c2d2842586502f0d90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 6 Apr 2020 16:56:56 +0200 Subject: [PATCH 3/3] :construction_worker: Trigger Travis after migration