Merge pull request #2589 from alphagov/static-guidance

Add information about how static assets are served
This commit is contained in:
Chris Hill-Scott
2018-12-21 14:29:51 +00:00
committed by GitHub

View File

@@ -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 Flask at http://localhost:6012/static/…
When running on preview, staging and production theres a bit more to it:
![notify-static-after](https://user-images.githubusercontent.com/355079/50343595-6ea5de80-051f-11e9-85cf-2c20eb3cdefa.png)