From a271381f5a802213f13652cb70e652c5f4e49b41 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 14 Dec 2018 16:25:31 +0000 Subject: [PATCH] Add information about how static assets are served This should help developers new to Notify understand how it works. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 707b427ff..c1eb09535 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,12 @@ make freeze-requirements ``` `requirements.txt` should be committed alongside `requirements-app.txt` changes. + + +## Working with static assets + +When running locally static assets are served by Whitenoise at http://localhost:6012/static/… + +When running on preview, staging and production there’s a bit more to it: + +![notify-static](https://user-images.githubusercontent.com/355079/50014775-c6db5e80-ffbc-11e8-9096-de41d97d67bf.png)