* recommend to just run in the home dir
* don't use private tmp
The troubles were: when set up using private tmp files, the 2 processes
cannot communicate with each other
simplify simplify simplify. In particular, this creates a symmetry with a 'just run
manage.py runserver', which could be used for debugging
Also, turns out sockets aren't actually faster:
https://stackoverflow.com/a/54013893/339144
> In this particular setup no unix socket performance advantage.
Why?
> One is that WhiteNoise is designed to work in situations where Apache, nginx
> and the like aren’t easily available. But more importantly, it’s easy to
> underestimate what’s involved in serving static files correctly
We deal with both these situations:
* for local development, we recommend running with DEBUG=False and still want to
sever staticfiles
* for deploying using nginx/whatever, I'd like to keep my instructions as simple
as possible, and doing this right once (in whitenoise) saves us from having to
come up with the right instructions for a bunch of webservers.