How to set environment variables for your web apps (for SECRET_KEY etc

Many deployment guides suggest you store configuration information that's likely to vary between platforms in Environment variables. See The 12-factor app for example. While this advice isn't perfec