Load per-env configs, document and fix production deployment

Load configs on a per-environment basis, rather than copying things around.

Document and fix production deployments.